[Haskell-cafe] Plotting Vectors with GnuPlot Wrapper

Maryam Moghadas m.moghadas at gmail.com
Wed Jul 14 19:10:34 EDT 2010


Hi
When I use Vectors as a PlotStyle in Graphics.Gnuplot.Simple, the output
curve.gp and curve0.csv is not generated correctly.
For example when I write in ghci:

plotPathStyle [] (PlotStyle Vectors (DefaultStyle 1)) [(1,1),(2,7)]

the output files are:
curve.gp:
plot  "curve0.csv" using 1:2 with vectors linestyle 1

curve0.csv:
1, 1
2, 7

But they must be:

curve.gp:
plot  "curve0.csv" using 1:2:3:4 with vectors linestyle 1

curve0.csv:
1, 1, 2, 7

Is there any option that should I use to correct this behavior?
Regards
Mary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100714/ec6dc557/attachment.html


More information about the Haskell-Cafe mailing list