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 no
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)
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:
https://github.com/racket/plot/blob/8dcfd77
3 matches
Mail list logo