altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.27k stars 368 forks source link

Plots with left and right Y-axes #252

Closed kmccall882 closed 6 years ago

kmccall882 commented 6 years ago

This is a long shot, but is there any way around this error when exporting a figure with a left and a right Y-axis:

error: Object Copy of Axes with multiple coordinate systems is not supported (MATLAB:Axes:Unsupported Copy).

I'm running MATLAB 2018a and am trying to export to JPEG. I have the latest version of export_fig.

kmccall882 commented 6 years ago

I should have included the MATLAB stack trace: copy_fig.m: copy_fig(), line 30 isolate_axes.m: isolate_axes(), line 56 export_fig.m: export_fig(), line 297

altmany commented 6 years ago

I couldn't recreate the exact error you see, but the change that I just committed should hopefully fix it

kmccall882 commented 6 years ago

That fixed it! Thanks very much!

Kurt McCal

From: Yair Altman notifications@github.com Sent: Saturday, September 8, 2018 6:09 PM To: altmany/export_fig export_fig@noreply.github.com Cc: Mccall, Kurt E. (MSFC-EV41) kurt.e.mccall@nasa.gov; Author author@noreply.github.com Subject: Re: [altmany/export_fig] Plots with left and right Y-axes (#252)

I couldn't recreate the exact error you see, but the change that I just committed should hopefully fix it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/altmany/export_fig/issues/252#issuecomment-419678805, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJbf9VZ7PiO1CZToYxMBt_Jk_J3INHJIks5uZE4XgaJpZM4WfFNw.