# Simple Two-Axis Plot in Mathematica? [duplicate]

Is there a simple way to implement a two-axis plot in Mathematica? On Quora.com there is a suggestion to use Show to combine two different plots with the same x-axis domain and with y-axes on opposite ends of the plots. I can't seem to get this to work though (I get only one plot shown or the other, but not both).

From Quora.com:

https://www.quora.com/Mathematica/Is-there-a-simple-way-to-make-a-secondary-y-axis-on-a-plot

"...you can also do each plot separately, frame them instead of having axes, make sure they have the same horizontal axes, plot 1 has a left handed vertical label, plot 2 has a right-handed vertical label, and then Show[{Plot1,Plot2}]."

## marked as duplicate by Szabolcs, Dr. belisarius plotting StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Oct 9 '15 at 15:10

• It won't; the two plots will share one axis with Show[]. – J. M. will be back soon Oct 9 '15 at 15:16