|
From: Amir S. <ami...@gm...> - 2013-04-08 10:43:59
|
Hi all, I am trying to plot a crown of 72 points with labels reporting the name of the point. The data file is structured like this: #ID x y z P01 1272.5113 -0.1213 1298.4915 P02 1272.5609 -113.2659 1293.49 P03 1272.6138 -225.5753 1278.7028 P04 1272.655 -336.1809 1254.1747 P05 1272.7575 -444.2176 1220.1453 I would like to have the label with ID of the points outside the crown. I have thought of a ternary operator: plot FILENAME using 3:4:1 notitle with labels at ($3>=0 ? $3+10 : $3-10),($4>=0 ? $4+10 : $4-10), \ FILENAME using 3:4 title "ring points" with points ps 3 lw 5 pt 1 lt 7 But it doesn't work. Where I am doing wrong? Thank you Amir |