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
Lemurs match scent of a friend to sound of her voice
Repeated self-healing now possible in composite materials
'Heartbleed' fix may slow Web performance

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