Axis 282 Manuale Utente Pagina 21

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 20
Chapter II-12 — Graphs
II-253
Igor determines the font size to use for text markers from the marker size, which you set in the Modify Trace
Appearance dialog. The font size used is 3 times the marker size.
You may want to show a text marker and a regular drawn marker. For this, you will need to display the
wave twice in the graph. After creating the graph and setting the trace to use a drawn marker, use Append
Traces to Graph (Graph menu) to append a second copy of the wave. Set this copy to use text markers.
Arrow Markers
Arrow markers can be used to create vector plots illustrating flow and gradient fields, for example. Arrow
markers are fairly special purpose and require quite a bit of advance preparation.
Here is a very simple example:
// Make XY data
Make/O xData = {1, 2, 3}, yData = {1, 2, 3}
Display yData vs xData // Make graph
ModifyGraph mode(yData) = 3 // Marker mode
// Make an arrow data wave to control the length and angle for each point.
Make/O/N=(3,2) arrowData // Controls arrow length and angle
Edit /W=(439,47,820,240) arrowData
// Put some data in arrowData
arrowData[0][0]= {20,25,30} // Col 0: arrow lengths in points
arrowData[0][1]= {0.523599,0.785398,1.0472} // Col 1: arrow angle in radians
// Set trace to arrow mode to turn arrows on
ModifyGraph arrowMarker(yData) = {arrowData, 1, 10, 1, 1}
// Make an RGB color wave
Make/O/N=(3,3) arrowColor
Edit /W=(440,272,820,439) arrowColor
// Store some colors in the color wave
arrowColor[0][0]= {65535,0,0} // Red
arrowColor[0][1]= {0,65535,0} // Green
arrowColor[0][2]= {0,0,65535} // Blue
// Turn on color as f(z) mode
ModifyGraph zColor(yData)={arrowColor,*,*,directRGB,0}
To see a demo of arrow markers choose File
Example ExperimentsGraphing TechniquesArrow Plot.
See the reference for a description of the arrowMarker keyword under the ModifyGraph (traces) operation on
page V-411 for further details.
Line Styles and Sizes
If you choose the “Lines between points”, “Lines and markers”, or Cityscape mode you also get to choose
the line style. You can change the dash patterns using the Dashed Lines item in the Misc main menu.
For any mode except the Markers mode you can set the line size. The line size is in points and can be frac-
tional. If the line size is zero, the line disappears.
Vedere la pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 79 80

Commenti su questo manuale

Nessun commento