Daantje wrote:
> I have been trying to figure out how to show and not show an extra graph in a
> GNUPlot graph.
You rather completely misunderstand the working and intention of 'replot'.
> This works fine, the extra graph only shows after pressing the h. But now I
> want to be able to get rid of the extra graph preferably by pressing the
> same button. I don't want to plot the original graph again since it is
> pretty big.
Well, that's not going to work. You already plot the original graph
again when you did 'replot'. That's what the command does: it REdoes
the PLOT, optionally with some more datasets you specify as part of the
replot command line.
The only way to get rid of such an addition to the display is issue a
new 'plot' command without it.
|