[Thread Prev][Thread Next][Index]

Re: [ferret_users] Creating irregular vertical axis



Hi,
The grid cells on the gird axis are irregular, but the tic marks on the plotted vertical axis will still be regularly spaced.  For example, define a synthetic variable,

yes? DEFINE AXIS/Z/units=meters/depth zaxis = {1,5,10,15,30,45,60,70,100,150,200}
yes? let my_var = x[x=1:50:1] + z[gz=zaxis]

yes? shade my_var
  
The plot is attached, and you can see the different sizes of the  grid cells. It's not as apparent with a FILL plot.

Ansley

On 6/6/2017 5:21 AM, Krishnapriya M wrote:
Hi Ansley,
I could not reply on time. Sorry for the delay. I tried this way also but again it is showing regular interval for Y-axis.Is there any other way to create similar plot?
With regards,
Krishnapriya

With Regards,
Krishnapriya M
Senior Research Fellow,
Ocean Integrated Biogeochemical Modeling Group(OIBM),
National Remote Sensing Centre (ISRO),
Balanagar,
Hyderabad-500037
Ph:040-23884576

On Mon, May 8, 2017 at 10:25 PM, Ansley C. Manke <ansley.b.manke@xxxxxxxx> wrote:

Hi,

Use DEFINE AXIS, for instance:

   DEFINE AXIS/Z/units=meters/depth zaxis = {1,5,10,15,30,45,60,70,100,150,200}

and regrid to that axis using @ASN, or use RESHAPE to put your data onto that axis.

Ansley



On 5/7/2017 11:48 PM, Nanda Kishore Reddy wrote:
Hi Priya,

You can use the zsequence command to create your irregular vertical axis and then regrid the data to your required region. I hope this can help you.

let depth=ZSEQUENCE({`1`,`5`,`10`,`15`,`30`,`45`,`60`,`70`,`100`,`150`,`200`}





With Kind Regards
B. Nanda Kishore Reddy,
PhD Scholar,
Department of Earth and Atmospheric Sciences(ER),
National Institute of Technology Rourkela

On Mon, May 8, 2017 at 10:56 AM, Krishnapriya M <mkrishnapriya11@xxxxxxxxx> wrote:
Hi all,
I would like to know whether there is any way to create an irregular vertical axis in a fill plot in ferret(for example, depth/pressure axis). Can anyone help on this?
 Thanks in advance

With Regards,
Krishnapriya M
Senior Research Fellow,
Ocean Integrated Biogeochemical Modeling Group(OIBM),
National Remote Sensing Centre (ISRO),
Balanagar,
Hyderabad-500037
Ph:040-23884576




Attachment: zaxis.png
Description: PNG image


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement