Re: Plot and Plots [message #58440 is a reply to message #58437] |
Fri, 01 February 2008 03:08   |
Paul.Bowyer@gmail.com
Messages: 7 Registered: September 2007
|
Junior Member |
|
|
On Jan 31, 10:22 pm, David Fanning <n...@dfanning.com> wrote:
> pb24 writes:
>> I have no trouble displaying the graticule and the continents using
>> MAP_GRID,and MAP_CONTINENTS. The problem is that once I have these
>> displayed, I'd like to plot the satellite image footprint on top by
>> taking the four image corner coordinates and using PLOTS. I have done
>> this using PLOTS when used in combination with MAP_SET (and with a
>> stereographic projection), but I want ideally, to have a *polar
>> stereographic* projection (they are not the same sadly - map
>> projections!!). That is why I am having to use MAP_PROJ_INIT with 106
>> projection number a GCTP type. Hope that makes my initial post a
>> little clearer.
>
> Yeah, sorry, I should have used 106 in my example,
> but after consulting with the map projection experts
> around here, we are at a loss as to how a polar stereographic
> projection is any different from a stereographic
> projection, centered on a pole. :-)
>
> If you were successful plotting your image footprint
> using MAP_SET, I would guess the values are in lat/lon
> space. If you want to do the same thing with a GCTP
> projection (and you *always* do, forget you ever heard
> about MAP_SET, is my advice), you will need to transform
> the image values into UV space (with MAP_PROJ_FORWARD) and
> set up the UV coordinate space as I explained in the
> previous post.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Hi David,
Plot does work with PLOTS, the problem was that I was passing PLOTS an
X and Y scalar rather than a vector!! My mistake, as usual!
One thing I dont seem to be able to get rid of though, is an annoying
diagonal line running from top-right to bottom-left on the graphic
produced, I have the axes suppressed but can't suppress the diagonal
line. I'm toiling with plotting and colours in IDL having previously
avoided it, but thanks to your articles have been able to make some
sense of it, any idea how to get rid of this line, also, label font
colors on a graticule or plot title seem a mystery to me, any
pointers?? I could send an example output if this would make my
postings clearer and less long winded!
Thanks,
Paul
|
|
|