Mathematica Mathematica: How to change units od axis

AI Thread Summary
To change the units displayed on the axes of a plot, specifically to convert relative units to micrometers (μm) using the conversion factor of 50 = 1μm, one effective method is to manually set the ticks in the plot command. For example, using the Plot3D function, you can specify custom ticks for the axes, replacing the numerical values with their corresponding μm values. This allows for clear representation of the data in the desired unit format, such as displaying 20000 as 400μm and 40000 as 800μm. The discussion highlights the importance of customizing axis labels for better clarity in data presentation.
brunoxy1
Messages
2
Reaction score
0
Hello,

I would like to know, how can I change units showed in axis. I would like to change those relative units (20000, 40000...) to μm. The conversional relation is 50 = 1μm, so instead 20000, 40000 i would like to have 400μm, 800μm. I enclose picture where it should be more clear what I am trying to achieve.

Thank you very much for your help
 

Attachments

  • impression mark.jpg
    impression mark.jpg
    23.3 KB · Views: 587
Physics news on Phys.org
You can set thick manually:
e.g.

Code:
Plot3D[Sin[(x y)/10], {x, 0, 100 Pi}, {y, 0, 100 Pi}, 
Ticks -> {{{0, "o"}, {100, "1m"}, {200, "2m"}, {300, "3m"}}, 
       {0, 100 Pi/2, 100 Pi}, {{-1, "A"}, {0, "B"}, {1, "C"}}}]
 
I did that, I found out yesterday:)
 

Similar threads

Replies
4
Views
3K
Replies
2
Views
2K
Replies
3
Views
6K
Replies
2
Views
4K
Replies
1
Views
7K
Replies
2
Views
2K
Back
Top