From: onemilimeter on
%%%%%%%%%%%%%%%
x=0:0.1:360*pi/180*4;
y1=0.1*sin(x);
y2=sin(x)+cos(x);
plotyy(x,y1, x,y2, 'plot');
%%%%%%%%%%%%%%%

The above codes are used to plot a graph with two y-axes, one on the left, and the other one on the right, as shown in Figure 1 below. Is it possible to rotate the 'right' y-axis label by 180 degree?

Thanks.

Figure 1
http://img.photobucket.com/albums/v608/zhaopian/rotated_label2.png
From: Rune Allnor on
On 23 Sep, 17:41, "onemilimeter " <on...(a)example.com> wrote:
> %%%%%%%%%%%%%%%
> x=0:0.1:360*pi/180*4;
> y1=0.1*sin(x);
> y2=sin(x)+cos(x);
> plotyy(x,y1, x,y2, 'plot');
> %%%%%%%%%%%%%%%
>
> The above codes are used to plot a graph with two y-axes, one on the left, and the other one on the right, as shown in Figure 1 below. Is it possible to rotate the 'right' y-axis label by 180 degree?

In general, do something like

plot(randn(10,1))
ylabel('test','rot',-90)

However, you would need to find the handle for the
right-most ylabel first.

Rune
 | 
Pages: 1
Prev: Displaying Scale Bar
Next: Wavelet PAcket