<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Short story: put a \circ in the y-label and plotting fails?<br><br>Racket 6.0 32-bit on 64-bit Windows 7. Using DrRacket. The plot frame is generated, the plot title and x-label appear, the tick marks on the axes appear, but the y-label doesn't appear and neither (points ...) nor (function ...) appear. <br>
<br>Example code (hopefully the extra characters come through email correctly):<br><br>#lang racket<br>(require plot)<br><br>(define (make-p title y-label)<br> (plot (function (λ(x) x))<br> #:x-min 0 #:x-max 50<br>
#:y-min 0 #:y-max 50<br> #:x-label "X (⇑∘C)" <br> #:y-label y-label<br> #:title title))<br><br>(define-values (works doesnt-work)<br> (values (make-p "Works (⇓∘C)" "Y (C)")<br>
(make-p "Doesn't Work (⇓∘C)" "Y (∘C)")))<br><br>works<br>doesnt-work<br>;;;;;;;;;;;;;;;;;;;;;<br><br><br>It's not just arbitrary character substitutions, for instance all the \left|right|up|downarrow don't cause any problems, but \Down|Up|etc.arrow causes the same problem as \circ. I threw some in the title and x-label to show that they didn't cause any failures. I've attached an image of what appears in case it helps.<br>
<br>Deren<br></div></div>