Display power of 10 at axis' end

左心房为你撑大大i 提交于 2019-12-31 06:54:10

问题


My data runs from 0 to 800000 on the x-axis and I have 4 plots in a square. To make the scale readable, I'd like to label the ticks from 0 to 8 (i.e. with %1.0t) and write the *10^5 at the end of the scale. I tried several format options, but all of them add *10^5 or e5 behind each tick. Is there a way to only put it in the end instead of each one?


回答1:


set xtics 100000 format "%1.0t"
set label "*10^5" at graph 1, 0  offset 4

However the more conventional approach is to explain the scale in the axis label:

set xlabel "Whatever it is (x 10^5)"


来源:https://stackoverflow.com/questions/52620254/display-power-of-10-at-axis-end

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!