Visit: Difference between revisions
Jump to navigation
Jump to search
(→How To ...: vector plots) |
m (→How To ...: zero-v) |
||
| Line 9: | Line 9: | ||
### ''New'':<br> ''Name'' = e.g. <code>vec_v</code><br> ''Type'' = Vector mesh variable<br> ''Definition'' = <code>{vx1,vx2,vx3}</code> | ### ''New'':<br> ''Name'' = e.g. <code>vec_v</code><br> ''Type'' = Vector mesh variable<br> ''Definition'' = <code>{vx1,vx2,vx3}</code> | ||
### ''Apply'' | ### ''Apply'' | ||
## ''Plots'' → ''Add'' → ''Vector'' → <code>vec_v</code><br>''Draw'' | ## ''Plots'' → ''Add'' → ''Vector'' → <code>vec_v</code><br>''Draw''<br>Note: A zero vector field produces "The Vector plot of variable '...' yielded no data." | ||
## Menu ''PlotAtts'' → ''Vector...'' → ''Sampling''<br>''Placement'' = Uniformly located throughout mesh<br>''Fixed number'' = ''N''²<br>''Apply'' | ## Menu ''PlotAtts'' → ''Vector...'' → ''Sampling''<br>''Placement'' = Uniformly located throughout mesh<br>''Fixed number'' = ''N''²<br>''Apply'' | ||
# Q: ... combine (add, subtract, ...) fields?<br>A: Ctrl+Shift+E opens the ''Expressions'' Window. You can create a new expression and select the type on the right hand side (e.g. scalar or vector) and insert functions or variables from your current database to apply mathematical operations on them and combine them. After saving the expression by clicking ''apply'', you can add them like any other data field. | # Q: ... combine (add, subtract, ...) fields?<br>A: Ctrl+Shift+E opens the ''Expressions'' Window. You can create a new expression and select the type on the right hand side (e.g. scalar or vector) and insert functions or variables from your current database to apply mathematical operations on them and combine them. After saving the expression by clicking ''apply'', you can add them like any other data field. | ||
# Q: ... combine fields from different time snapshots or databases?<br>A: Open the ''Data Level Comparison Wizard'' with Ctrl+Shift+D. It will guide you through the process of creating a new expression with the field that you want to compare with. | # Q: ... combine fields from different time snapshots or databases?<br>A: Open the ''Data Level Comparison Wizard'' with Ctrl+Shift+D. It will guide you through the process of creating a new expression with the field that you want to compare with. | ||
# Q: ... change the language of the GUI?<br>A: That cannot be done via the GUI itself. The Linux version can be launched as <code>visit -lang en</code> from the command line. In the Windows version, the option <code>-lang</code> has no effect; hence, a [[Visit/win-en|hack]] has to be used. | # Q: ... change the language of the GUI?<br>A: That cannot be done via the GUI itself. The Linux version can be launched as <code>visit -lang en</code> from the command line. In the Windows version, the option <code>-lang</code> has no effect; hence, a [[Visit/win-en|hack]] has to be used. | ||
Latest revision as of 17:19, 13 February 2026
Some frequent operations, even though surely covered somewhere in the manual or in the tutorials:
How To ...
- Q: ... specify the axis range in numbers?
A: Ctrl+V opens the View window, in the Tab 2D view the input field Window contains the space-separated xmin xmax ymin ymax. - Q: ... create a vector plot?
A:- Create a vector expression:
- Menu Controls → Expressions...
- New:
Name = e.g.vec_v
Type = Vector mesh variable
Definition ={vx1,vx2,vx3} - Apply
- Plots → Add → Vector →
vec_v
Draw
Note: A zero vector field produces "The Vector plot of variable '...' yielded no data." - Menu PlotAtts → Vector... → Sampling
Placement = Uniformly located throughout mesh
Fixed number = N²
Apply
- Create a vector expression:
- Q: ... combine (add, subtract, ...) fields?
A: Ctrl+Shift+E opens the Expressions Window. You can create a new expression and select the type on the right hand side (e.g. scalar or vector) and insert functions or variables from your current database to apply mathematical operations on them and combine them. After saving the expression by clicking apply, you can add them like any other data field. - Q: ... combine fields from different time snapshots or databases?
A: Open the Data Level Comparison Wizard with Ctrl+Shift+D. It will guide you through the process of creating a new expression with the field that you want to compare with. - Q: ... change the language of the GUI?
A: That cannot be done via the GUI itself. The Linux version can be launched asvisit -lang enfrom the command line. In the Windows version, the option-langhas no effect; hence, a hack has to be used.