Difference between revisions of "StepGraph Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=4.0}}</noinclude> ;StepGraph[ <List of X coordinates >, <List of Y coordinates> ] :Returns a step graph of a list of points created from the ...")
 
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
  
;StepGraph[ <List of X coordinates >, <List of Y coordinates> ]
+
;StepGraph[ <List of x-coordinates >, <List of y-coordinates> ]
 
:Returns a step graph of a list of points created from the given lists of coordinates. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
 
:Returns a step graph of a list of points created from the given lists of coordinates. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
  
;StepGraph[ <List of points> ]
+
;StepGraph[ <List of Points> ]
 
:Returns a step graph of the given list of points. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
 
:Returns a step graph of the given list of points. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
  
;StepGraph[ <List of X coordinates >, <List of Y coordinates>, < boolean Jump > ]
+
;StepGraph[ <List of x-coordinates>, <List of y-coordinates>, <Boolean Join> ]
:Returns a step graph of a list of points created from the given lists of coordinates. If Jump = true, then a horizontal line is drawn towards the X coordinate of the next point, but a vertical line segment is not drawn. If Jump = false, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
+
:Returns a step graph of a list of points created from the given lists of coordinates. If Join = false, then a horizontal line is drawn towards the x-coordinate of the next point, but a vertical line segment is not drawn. If Join = true, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
  
;StepGraph[ <List of points>, < boolean Jump > ]
+
;StepGraph[ <List of points>, <Boolean Join> ]
:Returns a step graph of the given list of points. If Jump = true, then a horizontal line is drawn towards the X coordinate of the next point, but a vertical line segment is not drawn. If Jump = false, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
+
:Returns a step graph of the given list of points. If Join = false, then a horizontal line is drawn towards the X coordinate of the next point, but a vertical line segment is not drawn. If Join = true, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
  
;StepGraph[ <List of X coordinates >, <List of Y coordinates>, < boolean Jump >, < Point style > ]
+
;StepGraph[ <List of x-coordinates >, <List of y-coordinates>, <Boolean Join>, <Point style> ]
 
:Returns a step graph as described above.   
 
:Returns a step graph as described above.   
 
:Point style values of -2, -1, 0, 1, -1 determine how points are drawn as follows:
 
:Point style values of -2, -1, 0, 1, -1 determine how points are drawn as follows:
Line 22: Line 22:
 
:: -2 = solid point on the left, open point on the right
 
:: -2 = solid point on the left, open point on the right
  
;StepGraph[ <List of points>, < boolean Jump >, < Point style >  ]
+
;StepGraph[ <List of Points>, <Boolean Jump>, <Point style>  ]
 
:Returns a step graph as described above.
 
:Returns a step graph as described above.

Revision as of 09:12, 10 September 2012


StepGraph[ <List of x-coordinates >, <List of y-coordinates> ]
Returns a step graph of a list of points created from the given lists of coordinates. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
StepGraph[ <List of Points> ]
Returns a step graph of the given list of points. Each point is connected to the next point in the list by a horizontal and a vertical line segment.
StepGraph[ <List of x-coordinates>, <List of y-coordinates>, <Boolean Join> ]
Returns a step graph of a list of points created from the given lists of coordinates. If Join = false, then a horizontal line is drawn towards the x-coordinate of the next point, but a vertical line segment is not drawn. If Join = true, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
StepGraph[ <List of points>, <Boolean Join> ]
Returns a step graph of the given list of points. If Join = false, then a horizontal line is drawn towards the X coordinate of the next point, but a vertical line segment is not drawn. If Join = true, then each point is connected to the next point in the list by a horizontal and a vertical line segment.
StepGraph[ <List of x-coordinates >, <List of y-coordinates>, <Boolean Join>, <Point style> ]
Returns a step graph as described above.
Point style values of -2, -1, 0, 1, -1 determine how points are drawn as follows:
0 = no points are drawn
1 = solid point on the right
2 = solid point on the right, open point on the left
-1 = solid point on the left
-2 = solid point on the left, open point on the right
StepGraph[ <List of Points>, <Boolean Jump>, <Point style> ]
Returns a step graph as described above.
© 2024 International GeoGebra Institute