Hallo Rafael,
Your solution is impressingly concise and works for 'while' and 'for'.
My function preference is caused by the idea to use it in absence of
loops too and that I understand it still after a while. I have amended
it in that respect:
function k=stopgoclick(k,n)//mouseclick control
Hi Jens,
I like the idea of using a function but could not find out right way how to
simplify and generalize yours for arbitrary loops.
If instead of using a function, we copy the following line into "any" for or
while loop we will get the same result as in your particular example:
// START OF
Hello Antoine,
This is an interesting user case. It is quite easy to get an equivalent, even
smarter,
but it depends on what is really required. here,
* There is no overlay between the 4 curves. The technical solution would be
quite specific.
* The vertical scale is different from one y sectio
Hallo Tim,
I have answered my last question by 'while' instead of 'for':
function k=stopgoclick(k,n)//control a figure loop by mouseclicks
//INPUT
//k: figure loop counter
//n: length of figure loop
//left mouse click: continue loop i. e. next figure (b(1)=3)
Hi Antoine,
Thanks for sharing this interesting topic.
Please check a quick brute force solution below, that needs further polishing.
In particular, the grid display should be improved.
// Multiple axis breaks in Scilab (1st brute force attempt)
// START OF CODE
clf();
clear;
x0=[1:10 20:25 60:1
Hi all,
I just got a question from one of my colleagues: "Is this possible to get axis
breaks when plotting with Scilab?"
(ie a plot where a bit of the scale in x, y or even both is missing, see :
http://www.originlab.com/doc/Tutorials/Multiple-Axis-Breaks ).
As far as I know, I don't see any di
Hallo Tim,
Did you mean something like this?:
function b1=stopgoclick()
//left mouse: next image,, middle mous: abort
b=xclick();
b1=b(1)
if b1==3//left mouse: next image
return
elseif b1==4//middle mouse: end script
abort