[racket-users] Re: Plot with text annotation inside the graph

2016-10-16 Thread Marc Kaufmann
Thanks Alex, that does the trick. On Saturday, October 15, 2016 at 12:58:28 AM UTC-4, Alex Harsanyi wrote: > You could try using a point-label or a function-label with a point size of 0, > like this: > > (plot (list (function-interval sin (lambda (x) 0)) > (function-label (lambda (x)

[racket-users] Re: Plot with text annotation inside the graph

2016-10-14 Thread Alex Harsanyi
You could try using a point-label or a function-label with a point size of 0, like this: (plot (list (function-interval sin (lambda (x) 0)) (function-label (lambda (x) (* (sin x) 0.2)) -1.8 "sin(x)" #:point-size 0)) #:x-min -2 #:x-max 2) Alex. On Saturday, October 15, 2016 a