There was a similar question asked on this group a while ago. tThe plot library does not support legends outside the plot area, but you can use the pict package to construct your own legend and place it anywhere. This requires some coding, but provides more flexibility (for example, you can also change the way the legend is drawn.)
See https://groups.google.com/forum/#!topic/racket-users/QLfNmsluVHM Alex. On Sunday, December 2, 2018 at 4:47:22 AM UTC+8, Matt Jadud wrote: > > Hi all, > > I'm starting to think about courses for next year, and I'd really like to > move to Racket for working with data with my students. For me, this is > going to involve thinking about a package or packages that move some > plotting and data work down into the HtDP space. > > For now, I'm just playing. One of the first things that I've run into with > plotting is that I'd like to put the legends outside of the area in which > data is plotted. (Put another way, I'd like my legend to appear to the > right of #:x-max.) > > Is this possible using the existing library, or would this require > discussion/modifications and a pull request against the plot package? > > Many thanks, > Matt > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.