I am trying to plot my data using the Simplot facilities and also want to open a second or third window from the main Simpleplot one in such a way that one can say OK and close the window showing a plot, or say 'calculate the linear regression of the data' and show the new plot in a second window without closing the previous one, i.e. something like:
First window: ans=winio@('%ca[My plot]%bg[grey]&') ans=winio@('%pl[scale=log_log,n_graphs=1,style=0,colour=red,x_array,y_axis=S_kt,x_axis=k]&',600,400,f,kt,S_kt) ans=winio@('%ff%nl%cn%bt[Linear regresion]%ta%bt[OK]')
Second window:
ans=winio@('%ca[Linear Regression]%bg[grey]&')
ans=winio@('%pl[scale=linear,n_graphs=2,style=1,style=1,colour=blue,colour=red,x_array,y_axis=W,x_axis=L]&',600,400,n,x2,y,y2)
ans=winio@('%nl slope= %5rf%ta&',m) ans=winio@('%nl Alfa (=(m-1)/2)= %5rf%ta&',m2)
ans=winio@('%ff%nl%cn%bt[OK]')
I tried to use %lw in the first window and %ch in the second one, but as soon as I click on any of the buttons of the first window, it is automatically closed and the second window does not appears. What am I doing wrong?
Agustin