Plotting in MilliNewtons in Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter pinsky
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
pinsky
Messages
95
Reaction score
0
Hello there!

I'm doing a plot of some measured forces in mathematica. I have the measured values (in Newtons) in the form:

{0, 0.000981, 0.004905, 0.001962, 0.002943, 0.003924, 0.005886,0.006867, 0.007848}

When i plot it (as ListPlot against some other set of values) those small numbers don't look very nice on the axis.

I'm trying to find a way to plot in miliNewtons, so that the values on the axis would be multyplied by 1000, but so that my plot wouldn't change.

I've googled for a hour and a half, and found no hint to a solution. I't seems like a fairly common thing to do.

Help...
 
Physics news on Phys.org
Why don't you just multiply the values by 1000, then label the axis in milliNewton, as follows:
Code:
Dat = {0, 0.000981, 0.004905, 0.001962, 0.002943, 0.003924, 0.005886, 
   0.006867, 0.007848};

ListPlot[Dat*1000, AxesLabel -> {Xaxis, milliNewton}]
 
The whole situation is that I have to draw the data f(U2)=F in form os measured data together with the aproximated regresion line. If I multiply it by 1000 i have to apply the changes to the line function which changes it's slope.