Hi -
On 7/26/2011 8:02 AM, Carlos Román Cascón wrote:
Hi,
I think I can't use FILL/CONTOUR because it's not a 2-dimensional plot?
I get an error if i change shade for fill... I am ploting height
(y-axis) Vs xlong in a concrete point of latitude.
Is there another way to smooth the image?
If you can do a SHADE plot then you can do a FILL plot. Both are
2-dimensional plot commands. What error messages did you see? And
exactly what commands were you using?
I have used the LABEL comand to put the name of the place that I need
where I need (I have used label/nouser ...and inches)
Now, I would like to plot a meteorological tower of 100 m (a little
stick in my graphic) in some concrete position.. Can I do it? I would
like to use a predefined image, but I can also use only a kind of stick.
I think I am going to need a posprocessing tool to do it..
There's nothing wrong with working with your image with a
postprocessing graphics tool. Or you might use the POLYGON command
to put an image on your plot. For example,
yes? use etopo20
yes? shade rose
yes? ! see what the X and Y limits of the plot are.
yes? show symbol ppl$xmin, ppl$xmax, ppl$ymin, ppl$ymax
PPL$XMIN = "20.17"
PPL$XMAX = "380.2"
PPL$YMIN = "-89.83"
PPL$YMAX = "89.83"
yes? ! make a mark near London. Because the x-range on the plot
is 20-380, longitude 0
yes? ! must be expressed as 360.
yes? let xpt = 360
yes? let ypt = 50.5
yes? go polymark poly/over/palette=black/nolabel xpt, ypt, 1,
tallbox, 0.8
You can define your own shape as well. There are a bunch of them
defined in the script polyshape, so for ideas look there,
yes? go/help polyshape
You could use the polygon command itself, or stay with the polymark
script - it's the easiest to use as it does the scaling for you. If
you want to define your own shape, you can make your own
polyshape.jnl script, and keep it in a local directory where Ferret
will find it before it finds the polyshape script that's part of the
Ferret distribution.
Thank you very much for all
Carlos Román Cascón
On Fri, 2011-07-22 at 10:15 -0700, Ansley Manke wrote:
Hi
Have you looked at your plots using the FILL command instead of SHADE?
See the LABEL command which lets you put a label anywhere on the plot,
using either user-coordinates (longitude and height) or page
coordinates, which are "inches" relative to the plot surface.
There are a number of color scales available, look at "palette" in the
documentation. Ferret includes many pre-defined palettes, and you can
create your own customized palettes. There are several FAQ's about
color palettes; look in the "Custom Plots" section of the FAQ's.
There are limited things within Ferret to do about changing the
background color. You can change the background color to black, "go
black". There are various tricks to making a background color, and we
could talk about that more in another message, but your easiest solution
right now might be to use a post-processing image software to change
white to another color.
I'm not entirely sure what you want to do differently about the
coordinates. You are using the curvilinear form of the SHADE command.
Is your data on a truly curvilinear grid? That is, does the variable
xlong vary in the y direction, or is it only a function of longitude?
If it's only a function of longitude and height is only a function of
height then you could define coordinate axes from those coordinate
variables.
yes? define axis/x/units=degrees_east xaxis = xlong[j=1]
yes? define axis/y/units="`height,return=units`" yaxis = height[i=1]
yes? let/units="your definition of the units" cloudvar =
1000*qcloud[x=xaxis@asn,y=yaxis@asn]
On 7/22/2011 2:51 AM, Carlos Román Cascón wrote:
Hi,
I would like to "smooth" the attached image (the qcloud output), in
order not to see the "lines" separating points of the grid in vertical
levels and horizontal resolution. I don't know if it's possible with
Ferret.
I would also like to put a name of a place ("Investigation centre") in a
concrete point of the surface in the graphic and change the colour of
the surface (the white part). I would also like to specify the colour of
the colorbar, for example, I want the surface (now white) in brown and
the 0-0.5 part (pink part) in clear blue or white...
I don't know how to handle the axis in coordenates instead of grid
points in Ferret. I think I have to use a post-processing tool of WRF to
do it, but I don't know which one I should use.
This is the code I use.
use 15julio.nc
set region /i=0:120/j=60
let height=(PH+PHB)/9.81
REPEAT/l=1:40 (shade /vlim=670:1400/lev="(0,1,0.05)" qcloud*1000, xlong,
height; plot /nolab /over /line /vs xlong,hgt/1000;
frame/file=dibujo`l`.gif)
There are a lot of question, but you always solve my doubts. Thank you
very much in advance
Carlos Román Cascón
|