Re: Function Graphics Map Projection Woes [message #77672 is a reply to message #77671] |
Mon, 19 September 2011 08:48   |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On 9/19/2011 8:30 AM, David Fanning wrote:
>
> OK, I'm on to my next topic on my list in my effort
> to learn about function graphics: map projections.
By happy coincidence, I'm giving a webinar on using map projections in
IDL, scheduled for October 20. Check back here:
http://www.ittvis.com/language/en-US/EventsTraining/LiveWebS eminars.aspx
a little later today for the announcement. I just finished making my
example programs last week; after I IDLdoc them, I'll post them to
bit.ly/IDL-webinar-files if you'd like to inspect them before the webinar.
> Can anyone explain to me why this code only shows
> the Northern hemisphere?
>
> data = Dist(200)
> imgObj = Image(data, limit=[-90,-180,90, 180], $
> grid_units=2, $
> map_projection='Equirectangular')
You need either the X and Y parameters or the IMAGE_DIMENSIONS and
IMAGE_LOCATIONS keywords to IMAGE.
> Does *anything* in function graphics work correctly!?
I'm standing by my initial assertion that about 95 percent of (New)
Graphics works well. There are bugs (I've logged a bunch) and there are
some routines that we need to improve (e.g., COLORBAR), but with each
IDL 8 release, I've seen NG get better. DG (and therefore CG!) will
always be a part of IDL, but NG provides a nice alternative. I wish I'd
had NG the first time I had to print a plot from IDL.
mp
|
|
|