<div dir="ltr">thanks - *very* pretty plots now.</div><div dir="ltr"><br></div><div dir="ltr">S.<span></span><br><div><br></div></div><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 8, 2014 at 2:24 AM, Robby Findler <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','robby@eecs.northwestern.edu');" target="_blank">robby@eecs.northwestern.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you use plot-pict, it will do the right thing.<br>
<br>
And probably plots should implement the pict-convertible? api.<br>
<br>
Robby<br>
<div><div><br>
<br>
On Tue, Oct 7, 2014 at 7:55 PM, Stephen De Gabrielle<br>
<<a href="javascript:_e(%7B%7D,'cvml','spdegabrielle@gmail.com');" target="_blank">spdegabrielle@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm learning some scribble, along with adding some images from plot.<br>
><br>
> This works nicely, but i'm trying to work out how to improve the image<br>
> quality in the resulting PDF. (the html output is fine.)<br>
><br>
> is there any way to make my images sharper and clearer in PDF?<br>
><br>
> kind regards,<br>
><br>
> Stephen<br>
><br>
> ----<br>
><br>
> #lang scribble/base<br>
><br>
> @(require plot racket/math)<br>
><br>
> @title{Math 135 Assignment 1}<br>
> @section{First Test}<br>
><br>
> @(define ((deriv f) x)<br>
> (/ (- (f x) (f (- x 0.001))) 0.001))<br>
> @(define (thrice f) (lambda (x) (f (f (f x)))))<br>
><br>
> @(define (x^2 x) (* x x))<br>
><br>
><br>
> @(parameterize ([plot-width 150]<br>
> [plot-height 150]<br>
> [plot-x-label "xaxis"]<br>
> [plot-y-label #f])<br>
> (list (plot (function x^2 (- pi) pi))))<br>
><br>
><br>
><br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
><br>
</blockquote></div><br></div>
<br><br>-- <br>Sent from Gmail Mobile<br>