Re: [racket-users] Re: plot library: legend outside plot?

2018-11-11 Thread Dmitry Pavlov
Alex, Thank you! I did not know about plot-pict. Best regards, Dmitry On 11/11/18 2:45 AM, Alex Harsanyi wrote: If you are willing to do some programming, you can write your own function to create the legend, as below:     #lang racket     (require plot pict racket/draw)     ;; I could

[racket-users] Re: plot library: legend outside plot?

2018-11-10 Thread Alex Harsanyi
If you are willing to do some programming, you can write your own function to create the legend, as below: #lang racket (require plot pict racket/draw) ;; I could not find how to draw styled lines in pict, so I wrote my own ;; function (define (hline1 w h color style)

[racket-users] Re: plot library: legend outside plot?

2018-11-09 Thread Alex Harsanyi
It is not currently possible to draw the legend outside the plot area. The code that draws the legend is at the link below, however, this code assumes that the position will be inside the plot area and will not reserve extra space outside this area: