开发者

Plotting with scientific notation in IDL

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜