Hi Stephen, Renderers are values, so you could simply define each one separately, then build the list, then pass it to plot. No need for macros.
(define line1 ....) (define line2 ....) .... (define all-lines (list line1 line2 ....)) .... (plot all-lines) .... Vincent On Wed, 30 Nov 2016 09:24:44 -0600, Stephen De Gabrielle wrote: > > Hi, > > I'm trying to work out how I can include multiple datasets in a single plot. > (plot (list (function) ...)) works, > > Should I write a macro that creates an enormous plot statement? Is there > another way to build the list of renderers? > > I've attached my example > > Kind regards, > > Stephen > > -- > Kind regards, > Stephen > -- > Bigger than Scheme, cooler than Clojure & more fun than CL.(n=1) > -- > > -- > 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. -- 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.