Hi, guys,
I have a problem. When I use plotyy, and change the font size of the axes, i find the labels move out of the figure border, how to extend the figure's border so that the figure involves the labels? thanks
x = 0:0.01:0.02;
y1 = 200*exp(-0.05*x);
y2 = 2*x;
[AX,H1,H2] = plotyy(x,y1,x,y2,'plot');
set(get(AX(1),'Ylabel'),'String','Slow Decay')
set(get(AX(2),'Ylabel'),'String','Fast Decay')
set(AX(1),'FontSize',13)
set(AX(2),'FontSize',13)
|
|
0
|
|
|
|
Reply
|
Kaisen
|
7/25/2010 2:55:05 AM |
|
"Kaisen deng" <csudeng@126.com> wrote in message <i2g929$r4c$1@fred.mathworks.com>...
> Hi, guys,
>
> I have a problem. When I use plotyy, and change the font size of the axes, i find the labels move out of the figure border, how to extend the figure's border so that the figure involves the labels? thanks
>
> x = 0:0.01:0.02;
> y1 = 200*exp(-0.05*x);
> y2 = 2*x;
> [AX,H1,H2] = plotyy(x,y1,x,y2,'plot');
> set(get(AX(1),'Ylabel'),'String','Slow Decay')
> set(get(AX(2),'Ylabel'),'String','Fast Decay')
> set(AX(1),'FontSize',13)
> set(AX(2),'FontSize',13)
Hi
One solution is to make the axes use a smaller fraction of the space.
>> set(AX(2),'Outerposition',[0 0 1 1])
>> set(AX(1),'Outerposition',[0 0 1 1])
This might be a start to solving the problem
Ross
|
|
0
|
|
|
|
Reply
|
Ross
|
7/31/2010 6:20:04 AM
|
|
|
1 Replies
381 Views
(page loaded in 0.035 seconds)
Similiar Articles: figure border - comp.soft-sys.matlabHi, guys, I have a problem. When I use plotyy, and change the font size of the axes, i find the labels move out of the figure border, how to extend... How to remove the upper and lower border of a figure? - comp.soft ...I am trying to stack 3 panels into one. So I need to remove (or make transparent) the panel borders between panel 1 & 2, 2&3. Anyone know how to do th... PSP 8 Change Colors on Picture Frame? - comp.graphics.apps.paint ...Hello everyone. I use PSP 8 picture frame on my images. I use the two toned blue one. Is it possible to change the colors? Thanks in advance for your... Remove or hide border of axis - comp.soft-sys.matlabI would like to plot an image without showing *anything* in the figure except the image itself. That means that I would like to remove the x and y ... "Fading out" a picture at the borders - comp.graphics.apps.paint ...figure border - comp.soft-sys.matlab... and change the font size of the axes, i find the labels move out of the figure border ... Photobucket | border Pictures, border ... ADD BORDERS : YES, (PSP 7). But : I would like a ROUNDED rectangle ...Hi, creating a new image in PSP 7 it's possible to say ADD BORDERS, and have a nice black border around your picture. Trouble is I would like to do t... Getting rid of white frames for figures - comp.soft-sys.matlab ...Hi everyone, does anybody know how I could get rid of the white/grey frame when exporting a MATLAB-figure (x.fig) into another format (i.e. x.jpg or ... Large fonts and axis labels - comp.soft-sys.matlabI'm probably missing something simple here, but I'm having a problem fitting axis labels with large fonts (24) into a figure frame that's anything les... Matlab figure to fixed jpeg size - comp.soft-sys.matlabfigure border - comp.soft-sys.matlab Matlab figure to fixed jpeg size - comp.soft-sys.matlab I want to print a Matlab figure to a fixed size jpeg file (480x400 pixels). ... picture frames are gone - comp.graphics.apps.paint-shop-pro ...image mosaic - comp.soft-sys.matlab... it means that it cannot take a large picture or long picture with all the details fitted in one frame. ... here were but the ... Picture frame - Wikipedia, the free encyclopediaA picture frame is a decorative edging for a picture, such as a painting or photograph, intended to enhance it, make it easier to display, or protect it. The frame ... picture frame | eBay - Electronics, Cars, Fashion, Collectibles ...Find great deals on eBay for picture frame and picture frame lot. Shop with confidence. 7/22/2012 6:17:45 AM
|