Re: changing default boundary color for a map

From: Rob Nicholas <rob.nicholas_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 30 2012 - 09:32:18 MDT

Thanks, Adam -- your solution worked perfectly (and was much more elegant
than any of my previous attempts). And thanks, Dave, for the heads up that
a new resource to handle this is in the pipeline.

Cheers,
Rob

On Thu, Apr 19, 2012 at 2:44 PM, Adam Phillips <asphilli@ucar.edu> wrote:

> Hi Rob,
> Thanks for providing an easy-to-use code so I could test possible
> solutions. As you probably guessed, I don't believe a resource exists to do
> what you want. However, I was able to make the national boundaries black
> by manually overlaying a second plot on the first. This is done by drawing
> your original plot, not advancing the frame, drawing a second plot (only
> showing the national boundaries in black) right on top of the first one,
> then advancing the frame. The code is attached, along with the resulting
> plot. The key with doing this type of manual overlaying is to get things
> lined up perfectly, and in this case I didn't have to change anything.
>
> I see that you wanted to panel this. I don't see a reason why you couldn't
> call gsn_panel for your original plots (setting gsnFrame = False in the
> panel resource list), then call gsn_panel again for your set of overlaid
> plots that only draw the national boundaries. Then manually call frame.
>
> If this isn't what you wanted, or if you have trouble paneling the
> overlaid plots, let us know..
> Good luck,
> Adam
>

-- 
Robert Nicholas
Postdoctoral Research Fellow
Department of Geosciences, Penn State University
post: 411 Deike Building, University Park, PA 16802
email: rob.nicholas@psu.edu
voice: +1 (814) 808-5610
web: http://www.geosc.psu.edu/~ren10

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 30 09:32:51 2012

This archive was generated by hypermail 2.1.8 : Thu May 03 2012 - 09:27:53 MDT