|
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: |