|
From: Thomas S. <t.s...@fz...> - 2011-02-25 21:42:27
|
if the y-values can be described using a function (like in your example):
set samples 4
f(x)=1./x
set xrange [1:4]
plot f(x) with linespoints
bsmile wrote:
>
> Hi,
>
> I would like to draw a very simple plot composed of a list of disconnected
> points, I am wondering whether there is anything like
>
> plot {1,2,3,4} {1/1,1/2,1/3,1/4}
>
> where the first list is for x while the second list is for y.
>
> What I know to plot this is to set up a file containing two columns, but
> to
> such a simple plot, I hope there were more straightforward ways
>
> Thanks,
>
> Sincerely,
> Jon
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/is-there-easy-way-to-draw-a-simple-plot--tp31015580p31016631.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|