Plotting in MilliNewtons in Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter pinsky
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

This discussion focuses on plotting measured forces in Mathematica using milliNewtons instead of Newtons. The user has a dataset of forces and seeks to display these values multiplied by 1000 for better readability on the axis without altering the plot itself. The solution provided involves using the ListPlot function with the dataset multiplied by 1000 while labeling the axis appropriately. This method ensures that the visual representation remains consistent while improving clarity.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of data plotting techniques in Mathematica
  • Basic knowledge of force measurement units (Newtons and milliNewtons)
  • Experience with data manipulation in Mathematica
NEXT STEPS
  • Explore advanced plotting options in Mathematica, such as Plot and ListLinePlot
  • Learn about customizing axis labels and scales in Mathematica
  • Investigate data transformation techniques in Mathematica for unit conversion
  • Study regression analysis in Mathematica to understand how to overlay regression lines on plots
USEFUL FOR

This discussion is beneficial for physicists, engineers, and data analysts who utilize Mathematica for plotting and analyzing force measurements, particularly those looking to enhance the clarity of their visual data presentations.

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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K