I can only view my plot when I press control+c [message #89393] |
Mon, 06 October 2014 08:22  |
corrine deegan
Messages: 1 Registered: October 2014
|
Junior Member |
|
|
I'm hoping someone can help me figure out this bizarre error. I am plotting density vs. radius and I have a plot and an oplot of different materials. The first time I ran the script I wrote, it worked fine, but now the only way I can see the oplot is if I press control+c while it is running. I'm not sure what to do or how to fix it because I'm not getting any error messages. Any advice is appreciated.
|
|
|
Re: I can only view my plot when I press control+c [message #89399 is a reply to message #89393] |
Tue, 07 October 2014 08:23  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Monday, October 6, 2014 11:22:35 AM UTC-4, corrine deegan wrote:
> I'm hoping someone can help me figure out this bizarre error. I am plotting density vs. radius and I have a plot and an oplot of different materials. The first time I ran the script I wrote, it worked fine, but now the only way I can see the oplot is if I press control+c while it is running. I'm not sure what to do or how to fix it because I'm not getting any error messages. Any advice is appreciated.
For performance IDL batches up some graphics commands in a buffer. This does sometimes lead to situations where what appears on the screen is incomplete.
What I usually do is put a WAIT, 0.01 command at the end of my list of graphics commands. WAIT causes the graphics buffer to be flushed. I guess the more correct way to do it is with the EMPTY command.
|
|
|