Alter the axes on a plot to better represent the data
Explore the relationship between the pressure and temperature of mercury vapor by adjusting the scales of the axes of a plot.
① Import the data
Retrieve sample data from the Wolfram Data Repository:
② Visualize the data
Plot the data to visualize the relationship using linear scales on both axes:
The relationship between temperature and pressure appears to be nonlinear, so a different scale can be used to get a better visualization.
④ Change the plot to log-log scale
Use scaling functions for both axes:
This visualization more clearly shows the general relationship between temperature and pressure.