Mathematica Labeling Axes in Mathematica: How to Define Range of Y-Axis | Tips & Tricks

  • Thread starter Thread starter adnan jahan
  • Start date Start date
  • Tags Tags
    Axes Mathematica
AI Thread Summary
To label the y-axis in Mathematica, the PlotRange option can be utilized effectively. The command to define both the x and y-axis ranges is: Plot[Re[u], {x, 0, 1}, Frame -> True, PlotRange -> {{0, 1.2}, {1, -5}}]. This allows for customization of the displayed range on the y-axis while maintaining the x-axis range. Users can adjust the values within PlotRange to fit their specific graphing needs. Proper use of this option enhances the clarity and presentation of graphs in Mathematica.
adnan jahan
Messages
93
Reaction score
0
Dear Fellows
I am working on Mathematica and found my graph successfully but the problem only I am having is how to label my graph,

command of my plot is

Plot [Re, {x, 0, 1}, Frame -> True]
which shows the range of x-axis but I also want to define range of my y-axis ,,,

can anybody help me in this regard..

thanks
 
Physics news on Phys.org
Use the PlotRange option.
 
Plot [Re, {x, 0, 1}, Frame -> True,PlotRange -> {{0, 1.2}, {1, -5}}]
thanks DaleSpam
 

Similar threads

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