Plot an explicit point next to a graph



Hello,

I'd like to plot a graph from a data file with lines and then plot one
point that is not in the data with points on the same graph.

If I try something like:
plot "t.dat" using 1:2 title "Data" with lines, \
10 with points

Then I get a horizontal line in 10 with points.

If I try to limit the xrange for the second plot I get an "invalid
expression error"
plot "t.dat" using 1:2 title "Data" with lines, \
[4:5] 10 with points

Any ideas on how to do that?

Thanks,
Miki
.



Relevant Pages

  • skipping data file no valid points
    ... Then I enter my command to plot ... skipping data file and the resultant graph is incomplete. ... I create a new data file, copying only column 1, column 4, column 5, ... I plot these columns successfully, with the plot commands columns 1 ...
    (comp.graphics.apps.gnuplot)
  • Reading ASCII text file with variable / unknown format - part 2
    ... and then plot the same parameters for Run #2 ... contains: time, message count, widget) ... x axis label = "position") ... more than 1 data file, I would just plot that extra data onto the same ...
    (comp.soft-sys.matlab)
  • Re: Appending data to existing plot
    ... it would be possible to add a single datapoint to an existing ... An existing data file or an existing output file? ... Gnuplot has no problem with the former - just hit "replot" and it will ... Is there a requirement to update the plot for every new point, ...
    (comp.graphics.apps.gnuplot)
  • Re: How to plot a certain function (using PSTricks, perhaps)?
    ... and the Wiener process. ... such a plot anywhere (the randomness needs not be there ... If it were me I'd plot it from a data file using PSTricks, but since you say you can't use a data file you might try manually stringing together coordinates using \psline: ...
    (comp.text.tex)
  • Re: Plot lines issue
    ... I need to plot ui against the value of xi and I can ... datafile, ie x15 may be bigger than x14 but smaller than x13. ... axis values do not occur in order in the data file. ... But you can trigger the sort of the input data in the ...
    (comp.graphics.apps.gnuplot)