<div dir="ltr"><div><em><font color="#6fa8dc">Yes, it does, but the automatic x value should remain if I only change the y value, shouldn't it?</font></em></div><div> </div><div>I guess no help, but:</div><div> </div><div>yes, it should..question is: does it?</div><div> </div><div>Did you "disp(a.x_location)" and check if the value keeps constant after updating a.y_location by hand?</div><div> </div><div>Would be interesting to see...never used something like this before.</div><div> </div><div> </div><div>Best wishes,</div><div>Philipp</div><div> </div><div> </div><div> </div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-13 14:18 GMT+02:00 Stefan Du Rietz <span dir="ltr"><<a href="mailto:sdr@durietz.se" target="_blank">sdr@durietz.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2015-05-13 12:47, Philipp Mühlmann wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
/ But my problem is:/<br>
/1. I change only the x-axis in the axes a/<br>
/2. I let Scilab set the position with a.title.auto_position="on"/<br>
/3. I change a.title_position(2)=new_vertical_position/<br>
/4. unfortunately a.title_position(1) is not updated/<br>
//<span><br>
I guess that editing a.title after a.title.auto_positioning =<br>
'on'; switches off the auto positioning?<br>
</span></blockquote>
<br>
Yes, it does, but the automatic x value should remain if I only change the y value, shouldn't it?<br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
What about using:<br>
/a.title_position(//1) = new_horizontal_position/<br>
/a.title_position(2) = new_vertical_position/<span><br>
where new_horizontal position = old_horizontal_position if x-axes does<br>
not change or getting a new value (depending on your data) if the<br>
x-axes changes.<br>
</span></blockquote>
<br>
I tried that, but it is very complicated to calculate the horizontal position so that the title is positioned in the middle ...<br>
<br>
And it works if I change the y position after drawnow()!<br>
<br>
Regards<br>
Stefan<br>
<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><span>
Greetings,<br>
Philipp<br>
<br>
2015-05-13 12:24 GMT+02:00 Philipp Mühlmann <<a href="mailto:p.muehlmann@gmail.com" target="_blank">p.muehlmann@gmail.com</a><br></span>
<mailto:<a href="mailto:p.muehlmann@gmail.com" target="_blank">p.muehlmann@gmail.com</a>>>:<br>
<br>
/I may miss something again, but when they are in their own<span><br>
drawnlater/drawnow pair -- not the one used for plotting --, it<br></span>
seems to work./<span><br>
cool...thanks...I managed to have the cross without blinking now<br>
using drawlater() / drawnow() in connection with delete(e). didn't<br>
know "embrassing".<br>
Best regards,<br>
Philipp<br>
<br>
2015-05-13 9:54 GMT+02:00 Samuel Gougeon <<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a><br></span>
<mailto:<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a>>>:<span><br>
<br>
Le 13/05/2015 09:32, Samuel Gougeon a écrit :<br>
<br>
Le 13/05/2015 08:08, Philipp Mühlmann a écrit :<br>
<br>
I have also noticed that I cannot change the position<br>
of a title, x-<br>
or y-label in-between specific drawlater/drawnow.<br>
<br>
If you know where to place x-y-label<br>
<br>
What about:<br>
<br>
a = gca()<br>
a.x_label.position =<br>
a.y_label.position =<br>
<br>
works great or me.<br>
<br>
For me as well (i forgot this property), even within<br>
drawlater/drawnow.<br>
About a.x_location about which i was thinking : it works also<br>
within drawlater/drawnow.<br>
Ni issue for me (apart reminding ;)<br>
<br>
About the + cross: to avoid it blinking (while axes stopped<br>
to), you may update their data instead of deleting and<br>
recreating it for each iteration, and see the result (i did<br>
not try).<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
users mailing list<br></span>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a> <mailto:<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>><span><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
--<br>
There we have the salad.<br>
<br>
<br>
<br>
<br>
--<br>
There we have the salad.<br>
<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">There we have the salad.</div>
</div>