1

I want to express numbers on the y-axis using scientific notation for the plot given below.

Plot[-(1/ (m^4)), {m, -0.5, 0.5}, PlotStyle -> {Black, Dashed, Thick},
  LabelStyle -> Directive[FontFamily -> "Arial", Black, FontSize -> 10], 
  AxesLabel -> {Style["x", 20], Style["y", 20]}]

I have read the previous post Scientific notation for the axes of a Plot, in which it is discussed a correlated doubt. However, the point that is not clear is how to adjust the parameter values for my case of study, as well as, what should be the best values to consider.

Thanks in advance.

creidhne
  • 5,055
  • 4
  • 20
  • 28
VH84
  • 179
  • 6

1 Answers1

2

The syntax in use in that other question is:

{#, ScientificForm@#} & /@ Range[min_value, max_value, increment]

where min_value is the lower bound of the axis, max_value is the upper bound, and increment is the spacing between successive labeled tick marks. In your case, a setting of min_value of -40000, max_value of 0, and increment of 10000 gives reasonable results.

Michael Seifert
  • 15,208
  • 31
  • 68