<div dir="ltr">As promised, here is a function pltseries0 that allow inverted axes, along with new function pltseries and drawy, in the joined zip file<br><br>I have added an option 'reverse=vec' where vec is a (2x1) vector of 0 and 1 indiating how the axis must be drawn (0: normal order; A: reverse  order).<br>
<br>For instance:<br>mat = [0, 1, 40;  1, 2, 30; 2,3,20; 3,4,10];<br>pltseries0([mat(:,2),<br>mat(:,3)],[],'example',string(<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]",'reverse[0 1]')</blockquote><div><br>The trick is either to take the opposite of the series and use drawaxis with the option val=string(-s) where s is the axis corresponding to the inverted series or to attack the handle, and to note that the second axis is the last of the children and to modify the filed axis_labels.<br>
</div><br>Eric.<br><br><div class="gmail_quote">2008/8/29 Eric Dubois <span dir="ltr"><<a href="mailto:grocer.toolbox@gmail.com">grocer.toolbox@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Thanks!</div>
<div> </div>
<div>I will have a look this w/e to see if it is possible to have inverted selected axes. A priori I would have done like you...<br> </div>
<div>Eric.<br> </div>
<div><span class="gmail_quote">2008/8/29, Simon <<a href="mailto:simon.elfert@web.de" target="_blank">simon.elfert@web.de</a>>:</span><div><div></div><div class="Wj3C7c">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">alright, that works pretty nice! A very fine tool.<br><br>Is it possible to have the right y-axis at normal scale, but the left<br>

y-axis with a reverse scale (with >> h=gca(); h.axes_reverse = ["off",<br>"on", "off"]; << I only get control of both y-axes at a time.<br><br>greetings,<br>Simon<br><br><br><br>
<br>
ps: For anyone who concerns... this works fine:<br><br>mat = [0, 1, 40;  1, 2, 30; 2,3,20; 3,4,10];<br>pltseries0([mat(:,2),<br>mat(:,3)],[],'example',string(mat(:,1)),1,"yaxis=[1 2]", "bars=[0 1]")<br>

<br></blockquote></div></div></div><br>
</blockquote></div><br></div>