MamboKnave
unread,Mar 7, 2012, 2:57:07 PM3/7/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have hard time to understand how I can do the following.
I'm starting gnuplot with an input command file:
gnuplot -persist < inputFile.gpl
Within the inputFile.gpl I want to have two arrays X and Y as gnuplot
variables. For instance:
Y = [0.8117, 0.944, 0.9937, 1.0145, 0.9369, 0.9574, 0.9861, 0.9484,
0.9891, 0.9987, 1.0485, 0.6612, 0.6899, 0.87]
X = [817, 818, 819, 822, 823, 824, 825, 826, 829, 830, 831, 901, 902,
906]
I need gnuplot to plot Y(X) but I do not know how to set these arrays
as variables within the command file inputFile.gpl
Basically, the two data arrays X, Y are not stored in external files.
They are variables within the inputFile.gpl and gnuplot should plot
Y(X)
Can someone please give me a hint?
Thanks!