Good afternoon all,
One last matplotlib question for the group for today.  On one of my GUI
plots, I'm calling imshow on an array of data (to display it in the same way
MATLAB's imagesc command does).  I'd like to add a second y-axis to the
right side of the plot that is completely dependent on the values on the
primary y-axis.  Essentially, for each y-axis tick point, I'll put the
y-axis 'value' into a formula and then put the result on the second y-axis.
 I did this in MATLAB by essentially overlaying a second set of axes over
the plot, but I haven't found the exact way to do it with matplotlib yet.
 I've seen a few examples online, but they all use the second overlaid plot
to actually plot new data - I wouldn't be doing this.
Would I need to use the twinx (or twiny) function?
Are there examples of this on the web that I haven't found that somebody
could point me towards?

Thank you.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to