Welcome, Guest. Please Login.
OpenDX User Forum
05/24/13 at 06:35:49
News: OpenDX 4.4.4 source code now available.


Pages: 1
wind_velocity (Read 647 times)
yhzhao
Forum Newbie
*


Got Viz?

Posts: 7
wind_velocity
12/19/10 at 21:37:15
 
Hi all,
 
This time I want to plot some 3-D arrows on the grid. I have found an example that almost satisfying my requirement as follows:
 
----------------------------------------------------
.general
----------------------------------------------------
file = temp_wind.lis
grid = 3 x 3
field = temperature, wind_velocity  
structure = scalar, 3-vector
layout = 39, 14, 0, 14
majority = column  
interleaving = field
header = lines 9
positions = 0.0, 0.5, 0.0, 0.5
 
 
------------------------------------------------------------
temp_wind.lis
------------------------------------------------------------
 VARIABLES AND SPECIFIED RANGES  
 ----------------------------------------------------------------------------
 EPOCH                01-Oct-1987 00:00:00.000 01-Oct-1987 12:00:00.000
 PRES_LVL                             1000.000                 1000.000
 TMP                                   150.000                  350.000
 WIND_U                      -100000000000.000        1000000000000.000
 WIND_V                      -100000000000.000        1000000000000.000
        EPOCH               PRES_LVL      TMP           WIND_U        WIND_V      
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         5.400         5.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         5.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 01-Oct-1987 00:00:00.000      1000.000       259.600         1.800         1.400         1.400
 
 
Using the given example "GeneralImport2.net", I can plot 9 arrows on a uniform 3x3 grid.
 
My problem is:  
 
How to plot on a non-uniform grid? Can I input the coordinate of the points where I want to plot the arrow?
 
Thanks a lot.
 
Regards,
 
Yonghong
Back to top
 
 
Email   IP Logged
dogstar901
Junior Member
**


Got Viz?

Posts: 44
Re: wind_velocity
Reply #1 - 02/17/11 at 05:52:51
 
of course you can ,modify the positions.
Back to top
 
 
Email   IP Logged
Pages: 1