There is one other easy way to plot data. If instead of a power law relation, there is an exponential or logarithm, a "semilog" plot is appropriate.
Consider
z= 10 Exp[y]
![[Graphics:../Images/log_log_gr_34.gif]](../Images/log_log_gr_34.gif)
![[Graphics:../Images/log_log_gr_35.gif]](../Images/log_log_gr_35.gif)
Gets real big, real fast so there is no resolution to the values and the plot is not linear. However the command LogPlot, tells Mathematica to use a linear scale for the abscissa but take the Log of the ordinate, which straightens out the plot.
![[Graphics:../Images/log_log_gr_36.gif]](../Images/log_log_gr_36.gif)
![[Graphics:../Images/log_log_gr_37.gif]](../Images/log_log_gr_37.gif)
![[Graphics:../Images/log_log_gr_38.gif]](../Images/log_log_gr_38.gif)
Likewise, if the relation has a log in it, z = 13 Log[x], we can straighten it out with the appropriate plot that takes the Log of the backsaws.
![[Graphics:../Images/log_log_gr_40.gif]](../Images/log_log_gr_40.gif)
![[Graphics:../Images/log_log_gr_41.gif]](../Images/log_log_gr_41.gif)
Try this command to check what different commands mean.. ??LogLinearPlot
![[Graphics:../Images/log_log_gr_42.gif]](../Images/log_log_gr_42.gif)
|
|
|
|
|
|
Now our plot is straight.
![[Graphics:../Images/log_log_gr_47.gif]](../Images/log_log_gr_47.gif)
![[Graphics:../Images/log_log_gr_48.gif]](../Images/log_log_gr_48.gif)