Making a plot with one scale on the left and another on the right
Question:
How can I make a plot with separate plot axes for different variables?
Example:
The demo script:
yes? go multi_variable_demo.jnl
gives a number of examples which call scripts from the Ferret distribution. Try this script and study the calls that it makes. Here is one of the plots from that demo.
To change pen colors, for instance, from the ones used in the script, you could make a copy of one of those scripts and change the details of the commands.
Another technique is even more flexible. Define multiple identical viewports, and draw different parts of the plot in each one. For instance,