Salvador Cardona Serra venit, vidit, dixit 2007-03-08 08:06:
> Hello, I'm new here, but a I have one important question oon my work now.
> 
> I have a file, with two columns, they are impulses (in gnuplot meaning). I 
> want to plot them in pyx because it's more powerfull. The script I use in 
> gnuplot is:
> 
> plot 'filename' with impulses
> 
> What should I write to make a similar thing in PyX??

I'm not quite sure what gnuplot impulses look like, but you might want
to experiment with error bars similar to

http://pyx.sourceforge.net/examples/graphstyles/errorbar.html

providing x=1, y=2, ymin="0", ymax=2 instead of the dy in the example.
Note the quotation marks! This draws error bars from the 0 line to the y
value. You may want to remove graph.style.symbol() from the example
code. Another option is bargraphs.

Cheers,
Michael


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to