开发者

Plotting with scientific notation in IDL

开发者 https://www.devze.com 2023-03-22 19:37 出处:网络
I would like to know if it is possible ( and how to ) plot numbers in scientific notation (e.g. 4e2instead of 400) 开发者_Python百科while plotting diagrams with IDL\'s plot package. You can specify a

I would like to know if it is possible ( and how to ) plot numbers in scientific notation (e.g. 4e2 instead of 400) 开发者_Python百科while plotting diagrams with IDL's plot package.


You can specify a format for tick values using IDL's standard formatting codes and the [XY]TICKFORMAT keywords. For example, to specify scientific notation for the x axis values, use the following:

IDL> plot, findgen(10000), xtickformat='(E7.1)'
0

精彩评论

暂无评论...
验证码 换一张
取 消