Hi Vincent, You need both the VECSET and VECKEY commands. I will assume we are keeping length of the arrow in the key at 0.5 inches. VECSET resets the vector length that is equivalent to the length on the page of 0.5 plot inches, the length of the key. It changes the lengths of all the arrows on the plot, so that vectors having the physical length of the second argument to VECSET (5 m/s) has the plot-length of the first argument (0.5 inches) . Compare the vector field in your plot if you use "vecset 0.5, 1", and then use "vecset 0.5, 5". If you give the command "vecset 0.5, 5" the key label will now be 5, because the standard vector arrow of 0.5 inches now represents the physical vector length 5 m/s. Then you can use VECKEY to position and label the vector key. For example: yes? use coads_climatology yes? set region/L=1/x=240:280/y=0:20 yes? vector uwnd,vwnd ! Here the default key is labeled as 8.13 yes? vector/set uwnd,vwnd yes? ppl vecset 0.5, 5. yes? ppl veckey/nouser 3.5,-1.3,,(f3.0," m/s") yes? ppl vector ! The vectors are longer, and the key is labeled as 5 m/s yes? vector/over/set uwnd,vwnd yes? ppl vecset 0.5, 10. yes? ppl veckey/nouser 5.5,-1.3,,(f3.0," m/s") yes? ppl vector/over ! Now, 0.5 inches represents 10 m/s so the vectors are ! shorter, and the key is labeled as 10. m/s Vincent Le Fouest wrote: Hi, Actually, the problem is the following: Using the default arguments of the VECSET command I obtain a too much longer arrow relative to my plot with a label corresponding in my case to the mean wind field intensity of my 2D grid, i.e. 1.3E01 Using ppl VECSET 0.5,1, I obtain an arrow of correct length but it substitutes my numerical label 1.3E01 by 1 Similarly, using ppl VECSET 0.5,5 it substitutes my numerical label 1.3E01 by 5 do You have an idea? Vincent On Thu, 2003-12-04 at 14:52, William.S.Kessler@noaa.gov wrote:Use VECSET only to set the vector scale length. Use VECKEY to control the label format and text: vector/set .... var1,var2 ppl veckey,xpos,ypos,,(f3.0," m s^-^1") ppl vector Note that the numerical part of the format must be floating point, not integer. Using f3.0 as above will leave an unwanted decimal point but that shouldn't be too much of a problem. Also note that the 3rd argument to VECKEY is not used, and must be passed over with those sequential commas. Billy KI have some difficulties with the ppl VECSET and VECKEY commands. Using the default arguments of the VECSET command, VECKEY draws a vector key with a label indicating, in my case, "13 m/s" (it is the mean value of my 2D wind field). Using the following command "ppl VECSET 0.5,1", it gives me a good length of my vector key but replaces my label "13 m/s" by "1". Does somebody know how to conserve my "13 m/s" label or if it is possible to modify the VECSET command? Thanks, Vincent |