Dear all,
I want to wrtie a procedure to get the similar plot as it below.
http://lh6.ggpht.com/duxiyu/SMZ8O2FYDRI/AAAAAAAAACo/HCWygAzvY60/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
|
|
0
|
|
|
|
Reply
|
duxiyu (97)
|
9/9/2008 2:02:01 PM |
|
duxiyu@gmail.com writes:
> I want to wrtie a procedure to get the similar plot as it below.
> http://lh6.ggpht.com/duxiyu/SMZ8O2FYDRI/AAAAAAAAACo/HCWygAzvY60/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.
Here is an article:
http://www.dfanning.com/graphics_tips/grid.html
You can also use the [XYZ]Tick_Get keywords to get the
major tick values.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
0
|
|
|
|
Reply
|
news2122 (4023)
|
9/9/2008 2:14:34 PM
|
|
Thanks a lot!
Du
On Sep 9, 4:14=A0pm, David Fanning <n...@dfanning.com> wrote:
> dux...@gmail.com writes:
> > I want to wrtie a procedure to get the similar plot as it below.
> >http://lh6.ggpht.com/duxiyu/SMZ8O2FYDRI/AAAAAAAAACo/HCWygAzvY60/sampl...
> > 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.
>
> Here is an article:
>
> =A0 =A0http://www.dfanning.com/graphics_tips/grid.html
>
> You can also use the [XYZ]Tick_Get keywords to get the
> major tick values.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
0
|
|
|
|
Reply
|
duxiyu (97)
|
9/9/2008 2:52:04 PM
|
|
|
2 Replies
39 Views
(page loaded in 0.167 seconds)
Similiar Articles: Tpaps grid density change - comp.soft-sys.matlabI have used the tpaps function on many of my data sets and it forces a 10x10 grid ... But when I look at the tpaps code, I can not figure out how to do so. Also, I can not ... help me with Impulse invariance - comp.soft-sys.matlab... on% the grid on the plot 1. Where I made a mistake, because based on the graphics is that something strange instead of the desired filter 2.How to add to the figure ... Add textbox on a figure - comp.soft-sys.matlabAdd textbox on a figure - comp.soft-sys.matlab creating a button on a figure to stop the program. - comp.soft-sys ... Add textbox on a figure - comp.soft-sys.matlab ... Combine multiple figures (.fig) with subplots into one figure ...... four plots (each with their own colorbars) in a 2x2 grid ... however I would like all the plots to be in one figure ... with multiple lines - comp.soft-sys.matlab How to add an ... merging existing .fig into the same figure - comp.soft-sys.matlab ...Hi, I have two figures e.g. gugu.fig and lulu.fig ) i ... limits or their labels or their colors or their grid ... with multiple lines - comp.soft-sys.matlab How to add ... creating a button on a figure to stop the program. - comp.soft-sys ...Add textbox on a figure - comp.soft-sys.matlab Radio button in MATLAB GUI - comp.soft-sys ... on a figure to stop the program. - comp.soft-sys ... Change plot grid line ... Change plot grid line colour - comp.soft-sys.matlabHi, I've got a the following to make a plot: figure plot(time,pres,'k ... The big solution is.... just turn off the official grid lines, and plot your own ... How Do I Add a pointer or arrow to a picture ? - comp.graphics ...How Do I Add a pointer or arrow to a picture ? - comp.graphics ... how to make hand with a down arrow in pdf - comp.text.pdf ... How Do I Add a pointer or arrow to a ... GUI: How to save a figure as a *.bmp by pressing on a button ...I try to add a picture into a GUI. But I couldn't figure it out. ... Does it mean that I have to > save .bmp file ... GUI? - comp.soft-sys.matlab ... How to add 7 days to the current date? - comp.lang.javascript ...Hello, to my shame I can't figure it out, plz help. ... ... Alex wrote: > Hello, to my shame I can't figure it out, plz help. > N=new Date() N.setDate(N.getDate()+7 ... How to Add a Grid to a Picture | eHow.comFiguring out the proportions of a photo can help you better understand the different shapes and terrain of the space or person featured in the photo. Once you ... How to Add a Grid to a Photo | eHow.comHow to Add a Grid to a Picture. Figuring out the proportions of a photo can help you better understand the different shapes and terrain of the space or person... 7/30/2012 4:16:15 AM
|