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

Home » Public Forums » archive » How to add the grid to a figure
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 add the grid to a figure [message #62453] Tue, 09 September 2008 07:02
duxiyu@gmail.com is currently offline  duxiyu@gmail.com
Messages: 88
Registered: March 2007
Member
Dear all,

I want to wrtie a procedure to get the similar plot as it below.
http://lh6.ggpht.com/duxiyu/SMZ8O2FYDRI/AAAAAAAAACo/HCWygAzv Y60/sample.png
Is there a simple method to add the dashed grid like that?

The vertical dashed lines are easy to be added, becase the duration
for all data is three hours and the interval between tow vertical
lines is 3 min.
Therefore, it is easy to use a loop to plot them.

But I cannot find a universal method to plot the horizontal dashed
lines.
Becase for different data interval, the Y values are different for
each other.
The values of horizontal lines are equal to the major ticks.
Meanwhile, according to the different data set, IDL selected the
different major ticks.
So it is difficult for me to build the procedure which can be applied
to all the data.

Best wishes,

Du
[Message index]
 
Read Message
Previous Topic: Segmentation in ENVI
Next Topic: Activating WIDGET_BUTTON through ENTER key.

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

Current Time: Fri Oct 10 20:56:02 PDT 2025

Total time taken to generate the page: 3.76248 seconds