Changeset 38674 in project
 Timestamp:
 05/02/20 03:23:48 (7 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/5/slibcharplot
r38382 r38674 34 34 currentoutputport at plot time. 35 35 36 ; {{DIMS}} : {{(or #f (list exactinteger exactinteger))}} ; (Heightrows Widthcolumns), default {{#f}} .36 ; {{DIMS}} : {{(or #f (list exactinteger exactinteger))}} ; (Heightrows Widthcolumns), default {{#f}} 37 37 38 38 The leftmargin effects the width consumed. The effective minimum dimensions … … 45 45 <procedure>(plotleftmargin [WID]) > exactinteger</procedure> 46 46 47 ; {{WID}} : {{(or #f exactinteger)}} ; Widthcolumns, initial {{12}}, with default {{2}}.47 ; {{WID}} : {{(or #f exactinteger)}} ; Widthcolumns, initial {{12}}, default {{2}} 48 48 49 49 {{2}} is the the minimum value. … … 78 78 ===== plot 79 79 80 <procedure>(plot COORDS XLABEL YLABEL [HISTOGRAM?])</procedure>80 <procedure>(plot COORDS [XLABEL [YLABEL [HISTOGRAM?]]])</procedure> 81 81 82 82 {{COORDS}} is an array, list or vector of coordinates, lists of x and y coordinates. … … 84 84 85 85 ; {{COORDS}} : {{(or array list vector)}} ; coordinate data elements 86 ; {{XLABEL}} : {{string}} ; x axis label .87 ; {{YLABEL}} : {{string}} ; y axis label .88 ; {{HISTOGRAM?}} : {{boolean}} ; line or filled graph .86 ; {{XLABEL}} : {{string}} ; x axis label, default {{""}} 87 ; {{YLABEL}} : {{string}} ; y axis label, default {{""}} 88 ; {{HISTOGRAM?}} : {{boolean}} ; line or filled graph, default {{#f}} 89 89 90 90 The elements of a {{list}} are of the form {{(X Y1 ... Yn)}}, where {{(< 0 … … 104 104 * {{((0 12 21) (1 21 12))}} 105 105 106 <procedure>(plot FUNC X1 X2 [NPTS])</procedure>106 <procedure>(plot FUNC [X1 [X2 [NPTS]]])</procedure> 107 107 108 108 Plots the function of the singleargument {{FUNC}} over the range {{X1}} to … … 110 110 the number of points to evaluate func at. 111 111 112 ; {{FUNC}} : {{(number > float)}} ; function to plot .113 ; {{X1}} : {{number}} ; plot range start .114 ; {{X2}} : {{number}} ; plot range end .115 ; {{NPTS}} : {{exactinteger}} ; number of points to evaluate {{FUNC}}, default {{64}} .112 ; {{FUNC}} : {{(number > float)}} ; function to plot 113 ; {{X1}} : {{number}} ; plot range start, default {{0}} 114 ; {{X2}} : {{number}} ; plot range end, default {{1}} 115 ; {{NPTS}} : {{exactinteger}} ; number of points to evaluate {{FUNC}}, default {{64}} 116 116 117 117 ===== histograph … … 122 122 or list {{DATA}}. {{LABEL}} is a string. 123 123 124 ; {{DATA}} : {{(or list vector)}} ; elements are {{number}} .125 ; {{LABEL}} : {{string}} ; plot label .124 ; {{DATA}} : {{(or list vector)}} ; elements are {{number}} 125 ; {{LABEL}} : {{string}} ; plot label 126 126 127 127 … … 143 143 === Version history 144 144 145 ; 1.1.0 : {{plot}} labels & range optional. 145 146 ; 1.0.3 : {{plot}} accepts a {{SRFI63}} {{array}}. 146 147 ; 1.0.0 : C5 release.
Note: See TracChangeset
for help on using the changeset viewer.