Re: 12M? or 12 000 000? (not 12000000)
Norwid Behrnd via gnuplot-info <[email protected]> Wed, 22 Jun 2022 17:23:18 +0200
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <20220622172318.59ee9b31@carnot2> |
>>>>> "EB" == Emanuel Berg <[email protected]> writes: EB> I have 'set format y "%0.f"', so I get, e.g. 12000000, I would On stackoverflow, user Christoph answers this with examples using the exponential notation,[1] i.e., ``` set format y '%.0tE%+T' ``` and one where (user defined) yticks' labels basically run by kB, MB, GB, TB, PB.[2] Though for the second one, gnuplot possibly offers a more compact approach than by addition of ``` set ytics 10 set mytics 10 set ytics add ( "1 kb" 1000, \ "10 kb" 10000, \ "100 kb" 100000,\ "1 mb" 1000000, \ "10 mb" 10000000,\ "100 mb" 100000000,\ "1 gb" 1000000000, \ "10 gb" 10000000000.0,\ "100 gb" 100000000000.0,\ "1 tb" 1000000000000.0, \ "10 tb" 10000000000000.0, \ "100 tb" 100000000000000.0, \ "1 pb" 1000000000000000.0, \ "10 pb" 10000000000000000.0 ) ``` as instruction. Based on the preview shared with simultaneous presence of lower-level (trace rjc; incal and lich) and higher-level data (trace solene), a plot substituting y by its transformation into lg(y) or sqrt(y) may be worth a consideration. [1] https://stackoverflow.com/questions/19569864/excluding-a-tic-number-in-scientific-format [2] https://stackoverflow.com/questions/23047927/showing-minor-tic-grid-in-gnuplot-with-manually-defined-major-tics _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info