Re: Plot multiple lines from data set

Vincent St-Amour <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.