comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to use cgplot insidecgwindow with mouse.button command
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to use cgplot insidecgwindow with mouse.button command [message #87529] Thu, 13 February 2014 02:25 Go to previous message
tushar is currently offline  tushar
Messages: 3
Registered: April 2013
Junior Member
Hello,

I am trying to plot graphs in cgwindow command using cgplot with a loop inside it, its not working fine a black window is coming.

When I am running the loop just with cgplot with mouse.button command its working fine, but when i gave cgwindow in front then its showing everytime different window for each plot.

my commands are
> for i = 0, a-1 do begin
> cgwindow, 'cgplot' , air_m, chn[i,*], color='blue', psym=1, thick=3, title = 'plot', xtitle='air mass', ytitle = 'channels', xrange=[0,10], charsize=1.5

> cursor, x , y , /up
> while (!mouse.button eq 4) do begin
> retall
> endwhile
> endfor

i want to plot inside cgwindow and with mouse click next plot should come in same window.
How to do that please explain.

Thank You.
[Message index]
 
Read Message
Read Message
Previous Topic: Satellite Swath Overlap
Next Topic: Contribution: Implementations of DCT and IDCT using length-N FFT

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:11:15 PDT 2025

Total time taken to generate the page: 0.00575 seconds