I am developing interactive web page to plot data from a data file.
I have 2 questions.
1) How do I tell gnuplot/what is the command that will make a particular
column in a data file to be treated as string. For example, I have a
data file as shown below:
I want gnuplot to plot the above data file with the first column in X axis
and second column in Y axis. Since X axis contains mixture of alphabets and
numbers, I want gnuplot to treat them as string and print them in X axis
corresponding to each individual xtics.
2) How do I plot missing data as one or more discontinuous lines? I know
that I can use '?' for missing data. But while plotting with 'lines' or
'linespoints' I get continuous line from the data before the '?' mark and
after the '?' mark. What I want is to plot continuously to the data before
'?' mark and start a new line from data after '?' mark. Thus the final plot
will look one or more discontinous lines and the point of discontinuity
implies missing data.
I will appreciate if somebody could help me out with the above two questions.
Thanx in Advance,
"Knowledge is Power"
Gautham M. Jain, Large Car Platform, Chrysler Corporation
Tel: 810-576-6489 Fax: 810-576-2312