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

Home » Public Forums » archive » Re: areas with 'hatching' in plots?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: areas with 'hatching' in plots? [message #64143] Wed, 03 December 2008 08:52
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

julia.walterspiel@gmail.com schrieb:
> hey folks
>
> i was wondering if there was a way in IDL to "highlight" some areas in
> a 2D plot.
> I have a time series where I want to highlight the time between e.g.
> 7am and 8am for easier interpretation of the plot.
>
> I guess there IS a way to do that, I just don't know it.. :)
> cheers
> juls


Hi julia
plenty examples of the icg plot environment are here

http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/idl_work_idl_work.examples.category.htm

if you want a recent plotprepare.sav file let me know.

cheers
Reimar



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD4DBQFJNrk45aOc3Q9hk/kRAgq7AJjkvPO9Gl9H1oTZs45B+7opwjP8AKCe CNWF
pXFXUx9DGs5DB6DOlMji3g==
=7Oon
-----END PGP SIGNATURE-----
Re: areas with 'hatching' in plots? [message #64149 is a reply to message #64143] Wed, 03 December 2008 06:20 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
julia.walterspiel@gmail.com wrote:
> hey folks
>
> i was wondering if there was a way in IDL to "highlight" some areas in
> a 2D plot.
> I have a time series where I want to highlight the time between e.g.
> 7am and 8am for easier interpretation of the plot.
>
> I guess there IS a way to do that, I just don't know it.. :)
> cheers
> juls

1) display your plot
2) overplot part of it, in a different color.

You have to find yourself what to overplot...
If you have hourly data, it's fairly easy, just subscript the original
data. If not, you will have to add points to your data set, at the
correct time. It's fairly easy to do...

Jean
Re: areas with 'hatching' in plots? [message #64155 is a reply to message #64149] Wed, 03 December 2008 06:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
julia.walterspiel@gmail.com writes:

> i was wondering if there was a way in IDL to "highlight" some areas in
> a 2D plot.
> I have a time series where I want to highlight the time between e.g.
> 7am and 8am for easier interpretation of the plot.
>
> I guess there IS a way to do that, I just don't know it.. :)

You are probably looking for something like this:

http://www.dfanning.com/graphics_tips/fillarea.html

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Least squares fit of a model to a skeleton consisting out of 3D points.
Next Topic: Re: Bug in N_PARAMS?

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

Current Time: Wed Oct 08 13:39:08 PDT 2025

Total time taken to generate the page: 0.00494 seconds