Fwd: Re: shapefile over contour

From: Luis Fernando Montana Roa <lfmontanar_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 14 2011 - 14:48:08 MDT

Mary, I try your modification and suggests, the map perimeter is off but the shapefile is out of the contour

Best regards
 
Fernando

attached mail follows:


Mary, I try your modification and suggests, the map perimeter is off but the shapefile is out of the contour

Best regards
 
Fernando

----- Original Message -----
From: Mary Haley <haley@ucar.edu>
Date: Tuesday, September 13, 2011 10:33 am
Subject: Re: shapefile over contour

> Hi Fernando,
>
> The reason why your shapefile doesn't fit your map is that the map
> limits you selected are hard-coded, and you should probably use the
> limits of the lat/lon data in the shapefile.
>
> It might be best to combine the function that attaches the
> polylines with code that creates the map plot. This way, you can
> get the min/max lat/lon from the shapefile and use this for the map.
>
> The line around the edge of your plot is the map perimeter. You can
> turn this off by setting mpPerimOn to False.
>
> Please see the attached *untested* modification of your script.
>
> --Mary

On Sep 12, 2011, at 10:30 PM, Luis Fernando Montana Roa wrote:

> Hi, I'm plotting a shapefile over contour data, but the shapefile does not fit the contour map.
> How can I fit the shapefile and how can I remove the line from the edge of the plot?
>
> The script and the output are attached.
>
> Any suggestions will be appreciated.
>
> Best wishes,
>
> Fernando
>
> <ave.ncl><ave.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

ave.png
Received on Wed Sep 14 14:48:29 2011

This archive was generated by hypermail 2.1.8 : Fri Sep 16 2011 - 11:24:25 MDT