Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

export_fig not showing pcolor graphic

3 views
Skip to first unread message

rachael

unread,
May 21, 2013, 5:58:11 PM5/21/13
to
I'm running r2012b on a SUSE linux86 system.

Export_fig is printing my graphic beautifully except the last graphic that I plot up isn't showing up. If I have a 4 panel graphic then the 4th panel is blank. If I change nothing but just comment out my 4th panel then the 3rd panel is blank. This problem appears specific to printing to pdf.

I am keen to use export_fig because it fixed other issues regarding changing font size and axis sizes when printing to figure file. I am also keen to use pdf because the graphic looks better and the axis resizing issue isn't apparent.

I'm using code like:

fig = figure;
hndl = axes('position',[0 0 1 1], 'parent', fig);
ha(1) = axes('outerposition',[x1 x2 y1 y2], 'parent',fig);
pcolor(ha(1), x, y, data);
...
export_fig('-pdf', '-nocrop','test.pdf');

Has anyone seen this before and have a solution?
0 new messages