gnuplot to plot values of a line of data

by alvaro
Tags: data, gnuplot, line, plot, values
alvaro is offline
Mar3-04, 09:07 AM
P: 1

I do not know how to do the following.

I have a .dat file with only a line of data, for example
27 48 12 49 85 12 40.

Could I make a graph with points joined by a line using some of the values of the line on the y axis and arbitrary values on the x axis for example with the points x=10,y=48 x=31,y=85 and

I would like to do it only using the gnuplot commands without
creating a new file with the appropriate columns.

Thanks in advance [;)]
Phys.Org News Partner Science news on
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes

Register to reply

Related Discussions
How do I plot step functions in gnuplot? Math & Science Software 6
[Mathematica] Plotting a straight line in a 3D plot Math & Science Software 7
stream line plot Advanced Physics Homework 0
Straight line sin wave plot. Calculus 9
determining r and c values by use of bode plot Electrical Engineering 16