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