Hello list,
On 05/07/13 11:41, Harald Servat wrote:
> Hello,
>
> I have the following plot that shows my 1D data
>
> plot 'file' using ((strcol(2) eq 'X' && $3 == 1) ? $4 / 1000000: NaN)
> : $0 ti 'Group X (9)' w points
>
> and I'd like to add to the plot a single point (honoring the gnuplot
> point style), let say at point (X=16, Y=0). How could I do that without
> having to add this data into a file?
>
> Thank you in advance.
>
I found the solution in
http://www.gnuplotting.org/plotting-single-points/
So, for those who are interested, my line reads finally.
plot \
'file' using ((strcol(2) eq 'X' && $3 == 1) ? $4 / 1000000: NaN)
: $0 ti 'Group X (9)' w points, \
"<echo '16'" using 1:$0 notitle with points;
Best regards.
--
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
http://www.bsc.es/disclaimer
|