Comments (1)
I cannot reproduce the problem using the code snippet below, which is supposedly equivalent to your code (the code that you uploaded is not runnable as-is):
figure; hold on;
yyaxis right; h1=plot(1:5);
yyaxis left; h2=plot(20:40);
hold off;
legend([h1,h2],'right','left');
drawnow; pause(1); % render the figure
export_fig test.eps; winopen test.eps
Perhaps the problem is that in your yyaxis right
code branch you are using plotyy
instead of plot
. In this case it's not a problem of export_fig but a bug in your code.
If the problem persists, then please reopen this issue and upload a reproducible runnable code snippet.
from export_fig.
Related Issues (20)
- error Unterminated quote in @-file: HOT 2
- eps2pdf ignores -r and downsamples images above 450dpi HOT 1
- '-append' is not working since last update HOT 1
- Can not works on Matlab Online HOT 2
- First example code not working HOT 2
- exporting to clipboard demands an output file name HOT 1
- figures with text overlay (using the text built-in) not saved if units are set to 'normalized' HOT 7
- problem in execution of export_fig command HOT 1
- Export enters an endless loop when called from within a live editor file HOT 1
- Problems with .eps HOT 2
- Changes in Background Color ignored when exporting via Live Script HOT 1
- append_pdfs error HOT 3
- Warning when export tiff HOT 1
- string error while updating HOT 1
- Colorbar titles in 2D plot exports do not work properly HOT 1
- Unexpected interaction of colorbar handle with tiledlayout in v3.42 commit HOT 1
- ReadMe "font issues" link is partly dead HOT 2
- Shrunken colorbar HOT 1
- Unexpected location of colorbar with tiledlayout in v3.43 commit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from export_fig.