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)'
精彩评论