[gradsusr] how to plot data over a particular region using shape file

Jennifer Adams jma at cola.iges.org
Mon Apr 28 06:27:20 EDT 2014


You can use 'q dbf' to parse the metadata in the shapefile to find out which shapes are associated with a particular state. Then, after you have plotted your data, you can draw that single shape with the background color to cover the states that are not of interest. Use 'draw shape n' and do it one by one. --Jennifer


On Apr 26, 2014, at 8:41 AM, sushant puranik wrote:

> Hi
> I have shape file for various states in India and I want to plot data only for a particular state (say Maharashtra) while masking other states over India. 
> 
> I am able to make a plot with the help of MATLAB (see the attachment) but I want to do it with GrADS.
> 
> can anyone please tell me whether it is possible in GrADS. Any suggestion or scripts are most welcome.
> 
> Thanks
> 
> Regards
> Sushant
>  
> <Maharastra_.png>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140428/12023a30/attachment.html 


More information about the gradsusr mailing list