Skip to content

If .pro contains a stop, figures don't show up until another cell is executed #4

@douglase

Description

@douglase

Thanks for putting this together, great idea, install was easy and so far it's working great.

A small thing I've noticed, whenever I hit a stop in a procedure, the code returns without shown the plots up to that point.

For example, if I create a simple procedure based on the demo:

 pro demo_plot
x = 2*!PI*0.01*indgen(100)
y1 = sin(x)
 y2 = cos(x)
loadct,39 
window,xsize=800,ysize=500 
plot,x,y1,title='Trig Functions',xtitle='Radians',ytitle='Amplitude',xrange=   [0,6],charsize=1.5,background=255,color=0
oplot,x,y2,color=50
stop 
end

I run this in a cell, i.e.

demo_plot

then I have to run another cell with something in it (i.e. a print statement) to see the output figures, as seen in this example notebook:
http://nbviewer.ipython.org/gist/douglase/9f02bcb3287ea4131e4f

running .continue as you would in IDL returns an error, not the plots, or the next bit of code, so essential this is just a report that the stop command doesn't work yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions