Comments (5)
Please can you provide a script for generating and exporting a simple test figure which demonstrates the problem, and tell me what version of MATLAB and what OS you're using.
from export_fig.
Hi Oliver
Thanks for your reply Oliver.
Case 1: usual axis:
x=1:100;
y=1:100;
figure,plot(x,y,'linewidth',3)
set(gca,'xscale','log','yscale','log','fontweight','bold','fontsize',20);
export_fig('test1','-jpg','-transparent','-m1.5'); % Save the image as JPEG
Case 2: Compressed axis (only a small range):
x=1:100;
y=1:100;
figure,plot(x,y,'linewidth',3)
set(gca,'xscale','log','yscale','log','fontweight','bold','fontsize',20);
axis([1 2 1 2])
export_fig('test1','-jpg','-transparent','-m1.5'); % Save the image as JPEG
The result:
It can show the axis as 10^(0.1), for instance, on screen, but when it prints them as Jpeg or PDF etc, it prints the true value (1.2589).
P.S., I am using MATLAB R2013a on Windows 7.
Thank you.
Steven
from export_fig.
I have just pushed a change which I believe fixes this. If it doesn't, please get back to me.
from export_fig.
Thanks Oliver.
It is fine now!
from export_fig.
cross-reference: issue #34 on R2014b (solution: manual axes limits only for X/Y, not Z)
from export_fig.
Related Issues (20)
- 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
- yyaxis right gives only white space in .eps file 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
- Plot with left and right Y-axes in a mlx fails to export to eps in Live script HOT 1
- Wrong font in contour labels HOT 1
- Export_fig ignores demcmap() and defaults to parula colormap for 2D plots(contourf for example) HOT 1
- How to output an image of a specified size?
- Colormap seems to be ignored for surf HOT 3
- Chinese characters are not correctly rendered in pdf 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.