Hi,
Thanks to all for reply. I solved that problem.
Now I am facing one new problem. When I am using "set terminal postscript
enhanced color " to save the graph in .ps for multi plotting (three curves
in one page ) the curves are coming deferent color but the lines are not
solid even I declared that g('set data style lines').
Thank you
Shibnath
On Wed, Dec 16, 2009 at 10:50 AM, Shibnath Pathak
<shi...@gm...>wrote:
> Hi,
>
> I am new to python and gunplot.py . But I am quite familiar with Gnuplot.
> So in Gnuplot to plot a file I used " gnuplot> plot "filename" using 1:2
> with lines ". The file is in text form and the data are saving there in two
> column 1st one is x axis and 2nd one is Y axis.
>
> In Gnuplot.py I try to plot same file like this "
>
> from numpy import *
> import Gnuplot, Gnuplot.funcutils
> g = Gnuplot.Gnuplot(debug=1)
> g.title('A simple example') # (optional)
> f = open('filename', 'r' )
> g.plot(f, using = (1,2), with_='lines')
> raw_input('Please press return to continue...\n')
>
>
> But I didn't get any plot.
> So please help me.
>
> Thank you in advance.
>
> --
> Shibnath Pathak
>
>
--
Shibnath Pathak
|