Ignore last zeros after . with set format in Gnuplot
<p>I use:</p>

<p><strong>set format x set format x "%2.3f"</strong></p>

<p>so that (for example) number 10.55555555 comes out as 10.555.</p>

<p>But at the same time, I would like that (for example) number 10.000000 comes out as 10, not as 10.000.</p>

<p>Is that possible? To tell gnuplot to use <strong>set format x set format x "%2.3f"</strong> but to ignore zeros?</p>