[gradsusr] Scaling Data Points
Jennifer Adams
jma at cola.iges.org
Wed Sep 25 12:21:21 EDT 2013
Ryan,
You can use 'set ccolor' to control the color of the marks in your scatterplot. The 'set cmark' command allows you to control different mark styles, and 'set digsiz' controls the size of the marks. Colorization of the marks based on a third expression was added with version 2.0.2. With earlier versions, you have to use the maskout() function to filter out points and do many iterations of 'display' in order to have multiple colors in your scatter plot. If possible, you should upgrade to a more recent version, but I understand that is not always easy when working with MS Windows.
--Jennifer
On Sep 25, 2013, at 11:41 AM, Ryan Danielson wrote:
> Jennifer,
>
> Thank you. I also tried graphing a separate set of scatter plot data on top of the original. I wanted to set its color to something different for visualization purposes, but it continues to come up white. I tried “set rgb 22”, however I am prompted with “SET error: Missing or invalid argument for RGB option”. Is my command incorrect or do I need a newer version of GrADS?
>
> Ryan
>
> From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Jennifer Adams
> Sent: Wednesday, September 25, 2013 8:20 AM
> To: GrADS Users Forum
> Subject: Re: [gradsusr] Scaling Data Points
>
> Hi, Ryan --
> What you want is the 'set vrange' and 'set vrange2' commands to control the limits of the X and Y axes in a scatter plot. The 'set xaxis' and 'set yaxis' commands are for drawing axis labels that have no relation to data or dimensions.
> http://iges.org/grads/gadoc/gradcomdsetxaxis.html
> http://iges.org/grads/gadoc/gradcomdsetvrange.html
> --Jennifer
>
> On Sep 25, 2013, at 11:03 AM, Ryan Danielson wrote:
>
>
> Hi All,
>
> I am running GrADS version 1.9.0-rc1. 32-bit little-endian readline sdf/xdf netcdf lats athena printim. I am running GrADS on Windows, but am using PuTTY for commands. When graphing data points on a scatter plot I am entering the commands: “set xaxis x1 x2” and “set yaxis y1 y2”. However, data points do not move with the axes. They stay in their original plot location while the axes move around them. What command scales the data points with the axes?
>
> Ryan
> _______________________________________________
> 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
>
>
>
>
>
>
> _______________________________________________
> 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/20130925/7bb0c654/attachment.html
More information about the gradsusr
mailing list