1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Gnuplot 6.0 demos (HTML canvas terminal)</title>
<link type="text/css" href="gnuplot_demo.css" rel="stylesheet">
<link type="text/css" href="gnuplot_mouse.css" rel="stylesheet">
</head>
<body oncontextmenu="return false;">
<h2 align=center>Gnuplot 6.0 demos (HTML canvas terminal)<br>
See also the demo output for the
<a href="http://gnuplot.sourceforge.net/demo_6.0/">PNG</a> and
<a href="http://gnuplot.sourceforge.net/demo_svg_6.0/">SVG</a> terminals.
</h2>
<canvas id="warning" width=1 height=1>
<div class='box'><h2>Your browser may not support the HTML 5 canvas element</h2></div>
</canvas>
<table width="100%">
<tbody><tr valign="top">
<td rowspan=2>
<h4>Basic 2D plot styles</h4>
<ul>
<li><a href="simple.html">simple functions</a></li>
<li><a href="fillcrvs.html">filled curves</a></li>
<li><a href="fillbetween.html">fill between curves</a></li>
<li><a href="candlesticks.html">candlesticks</a></li>
<li><a href="errorbars.html">error bars</a></li>
<li><a href="steps.html">simple step functions</a></li>
<li><a href="hsteps.html">hsteps</a></li>
<li><a href="multiaxis.html">multiple axis scales</a></li>
<li><a href="using.html">mixing styles</a></li>
<li><a href="pointsize.html">variable size points</a></li>
<li><a href="parallel.html">parallel axis plots</a></li>
<li><a href="param.html">parametric functions</a></li>
<li><a href="piecewise.html">piecewise functions</a></li>
<li><a href="vector.html">vector fields</a></li>
<li><a href="circles.html">circles</a></li>
<li><a href="boxplot.html">boxplots</a></li>
<li><a href="rugplot.html">rug plot</a></li>
<li><a href="sectors.html">sectors</a></li>
<li><a href="jitter.html">jitter (bee swarm)</a></li>
<li><a href="spiderplot.html">spider plot</a></li>
</ul>
<h4>Math functions</h4>
<ul>
<li><a href="approximate.html">approximation</a></li>
<li><font color=gray>complex functions</font></li>
<li><a href="prob2.html">probability</a></li>
<li><a href="prob.html">probability (more)</a></li>
<li><a href="random.html">random numbers</a></li>
<li><a href="bivariat.html">recursion, etc...</a></li>
<li><a href="stats.html">data statistics</a></li>
</ul>
<h4>Curve fitting</h4>
<ul>
<li><a href="smooth_splines.html">cubic and Bezier splines</a></li>
<li><a href="monotonic_spline.html">monotonic csplines</a></li>
<li><a href="smooth_path.html">along-path splines</a></li>
<li><a href="sharpen.html">"sharpen" filter</a></li>
<li><a href="spline.html">explicit B-splines</a></li>
<li><a href="airfoil.html">explicit Bezier splines</a></li>
</ul>
<h4>Colors</h4>
<ul>
<li><a href="varcolor.html">data-dependent coloring</a></li>
<li><a href="rgb_variable.html">RGB coloring</a></li>
<li><a href="rgba_lines.html">RGB + alpha channel</a></li>
<li><a href="pm3dcolors.html">pm3d colors</a></li>
<li><a href="named_palettes.html">named palettes</a></li>
</ul>
<h4>Line and Fill Styles</h4>
<ul>
<li><a href="lines_arrows.html">line and arrow styles</a></li>
<li><a href="fillstyle.html">fill styles</a></li>
<li><a href="dashtypes.html">dashed lines</a></li>
<li><a href="transparent.html">transparency</a></li>
<li><a href="transparent_solids.html">transparent solids</a></li>
</ul>
</td>
<td rowspan=2>
<h4>3D plots and surfaces</h4>
<ul>
<li><a href="surface1.html">surfaces 1</a></li>
<li><a href="surface2.html">surfaces 2</a></li>
<li><a href="contours.html">contours</a></li>
<li><a href="custom_contours.html">custom contour lines</a></li>
<li><a href="contourfill.html">filled contours</a></li>
<li><a href="singulr.html">singularities</a></li>
<li><a href="hidden.html">hidden surfaces</a></li>
<li><a href="pm3d.html">pm3d coloring</a></li>
<li><a href="hidden2.html">pm3d hidden surfaces</a></li>
<li><a href="pm3d_clip.html">pm3d clipping</a></li>
<li><a href="projection.html">2D projection of 3D surface</a></li>
<li><a href="zerror.html">shaded error region</a></li>
<li><a href="azimuth.html">azimuth</a></li>
<li><a href="boxes3d.html">boxes</a></li>
<li><a href="armillary.html">circle and polygon 3D objects</a></li>
<li><a href="polygons.html">pm3d polygons</a></li>
<li><a href="pm3d_lighting.html">lighting model</a></li>
</ul>
<h4>Volume plots</h4>
<ul>
<li><a href="voxel.html">voxel-dependent coloring</a></li>
<li><a href="isosurface.html">3D isosurface</a></li>
</ul>
<h4 align=left>Hulls and Masks (new!)</h4>
<ul align=left>
<li><a href="convex_hull.html">convex hulls</a></li>
<li><a href="mask_pm3d.html">masked pm3d surface</a></li>
<li><a href="chi_shapes.html">concave hulls (χ-shapes)</a></li>
</ul>
<h4>Coordinate and<br> axis transforms</h4>
<ul>
<li><a href="linkedaxes.html">linked axes</a></li>
<li><a href="nonlinear2.html">logscale axes</a></li>
<li><a href="nonlinear3.html">nonlinear axes</a></li>
<li><a href="nonlinear1.html">broken axes</a></li>
<li><a href="ttics.html">polar coords</a></li>
<li><a href="polar.html">polar functions</a></li>
<li><a href="poldat.html">polar data</a></li>
<li><a href="polar_quadrants.html">polar quadrants</a></li>
<li><a href="world.html">cylindrical/spherical</a></li>
<li><a href="timedat.html">time/date coords</a></li>
<li><a href="sampling.html">coordinate sampling ranges</a></li>
</ul>
<h4>Binary and Image data </h4>
<ul>
<li><a href="binary.html">binary data</a></li>
<li><a href="argb_hexdata.html">RGB + alpha channel</a></li>
<li><a href="barchart_art.html">rescaled images</a></li>
<li><a href="imageNaN.html">missing/NaN values</a></li>
<li><a href="pixmap.html">pixmap gradients and icons</a></li>
</ul>
</td>
<td rowspan=2>
<h4>Heat Maps</h4>
<ul>
<li><a href="heatmaps.html">Derived from a regular grid</a></li>
<li><a href="heatmap_points.html">Derived from scattered points</a></li>
<li><a href="heatmap_4D.html">4D data (3D surface + value)</a></li>
<li><a href="polargrid.html">Polar coordinate maps</a></li>
</ul>
<h4>Histograms</h4>
<ul>
<li><a href="histograms.html">clustering options</a></li>
<li><a href="histogram_colors.html">user-assigned colors</a></li>
<li><a href="histerror.html">histogram + errorbars</a></li>
<li><a href="boxclusters.html">make-your-own with boxes</a>
<li><a href="bins.html">automatic binning</a></li>
</ul>
<h4>Sample Applications</h4>
<ul>
<li><a href="controls.html">control models</a></li>
<li><a href="discrete.html">discrete contours</a></li>
<li><a href="finance.html">financial data</a></li>
<li><a href="iterate.html">iteration</a></li>
<li><a href="scatter.html">non-gridded data</a></li>
<li><a href="running_avg.html">running averages</a></li>
<li><a href="smooth.html">binning/histograms</a></li>
<li><a href="array.html">arrays</a></li>
<li><a href="fenceplot.html">fence plots</a></li>
<li><a href="gantt.html">Gantt chart</a></li>
<li><a href="columnhead.html">points labeled by origin</a></li>
<li><a href="label_stacked_histograms.html">label stacked histogram</a></li>
<li><a href="solar_path.html">solar path diagram</a></li>
<li><a href="map_projection.html">map projections</a></li>
<li><a href="violinplot.html">violin plot</a></li>
<li><a href="windrose.html">wind rose</a></li>
<li><a href="iris.html">overlapping categories</a></li>
<li><a href="logic_timing.html">logic timing diagram</a></li>
<li><a href="rank_sequence.html">sequential ranking</a></li>
</ul>
<h4>Text options</h4>
<ul>
<li><a href="rotate_labels.html">rotated text</a></li>
<li><a href="enhanced_utf8.html">enhanced text</a></li>
<li><a href="datastrings.html">string data</a></li>
<li><a href="cities.html">variable font size</a></li>
<li><a href="canvas_utf8.html">utf8 math symbols</a></li>
<li><a href="hypertext.html">hypertext</a></li>
<li><a href="hypertext_surface.html">hypertext on 3D surface</a></li>
</ul>
<h4>Page Layout</h4>
<ul>
<li><a href="layout.html">multiplot layout</a></li>
<li><a href="multiplt.html">multiple plots</a></li>
<li><a href="margins.html">aligned plots</a></li>
<li><a href="ellipse.html">axis location</a></li>
<li><a href="walls.html">walls</a></li>
<li><a href="rectangle.html">rectangles</a></li>
<li><a href="custom_key.html">customized key</a></li>
<li><a href="keyentry.html">extra key entries</a></li>
</ul>
</td>
<td></td>
</tr>
<tr valign=top><td align=center>
<h3>Example of mouse tracking, zoom/unzoom</h3>
<table class="plot">
<tr>
<td>
<script src="canvastext.js"></script>
<script src="gnuplot_common.js"></script>
<script src="gnuplot_mouse.js"></script>
<script src="mouseable.js"></script>
<canvas id="gnuplot_canvas" width="500" height="350" onkeypress=gnuplot.do_hotkey() tabindex="0"></canvas>
<script>
gnuplot.grid_lines = true;
gnuplot.zoomed = false;
gnuplot.active_plot_name = "gnuplot_canvas";
gnuplot.active_plot = function(){gnuplot_canvas();};
if (window.attachEvent) {window.attachEvent('onload', gnuplot.active_plot);}
else if (window.addEventListener) {window.addEventListener('load', gnuplot.active_plot, false);}
else {document.addEventListener('load', gnuplot.active_plot, false);}
</script>
</td></tr>
<tr><td>
<table id="gnuplot_mousebox" class="mbunder">
<tr>
<td class="icon" onclick="gnuplot.toggle_grid();"><img src="grid.png" id="gnuplot_grid_icon" alt="#" title="toggle grid"></td>
<td class="icon" onclick="gnuplot.unzoom();"><img src="previouszoom.png" id="gnuplot_unzoom_icon" alt="unzoom" title="unzoom"></td>
<td class="icon" onclick="gnuplot.rezoom();"><img src="nextzoom.png" id="gnuplot_rezoom_icon" alt="rezoom" title="rezoom"></td>
<td class="icon"><a href="canvas_help.html">
<img src="help.png" align=right alt="help" title="help"></a></td>
<td class="icon" onclick='gnuplot.toggle_plot("gnuplot_canvas_plot_1")'>➀</td>
<td class="mb0">x</td>
<td class="mb1"><span id="gnuplot_canvas_x"> </span></td>
<td class="mb0">y</td>
<td class="mb1"><span id="gnuplot_canvas_y"> </span></td>
</table>
<br>Note:
<ul><li>Zoom using right (Firefox, Konqueror) or center (Opera, Safari) mouse button
<li>Mark point using left mouse button
<li>➀ toggles first plot on/off # toggles grid on/off
</ul>
</td></tr>
</table>
</td></tr>
</tbody></table>
<hr>
<table width="100%">
<tbody><tr valign="top">
<td>
<i>This page generated July 2024</i>
</td>
<td>
<ul>
<li><a href="http://sourceforge.net/projects/gnuplot/">
Gnuplot development pages on SourceForge</a></li>
<li>On-line PDF documentation in
<a href="http://gnuplot.sourceforge.net/docs_6.0/gnuplot.pdf">English</a>
and
<a href="http://gnuplot.sourceforge.net/docs_6.0/gnuplot-ja.pdf">Japanese</a></li>
</ul>
</td>
<td>
<ul>
</ul>
</td>
</tr>
</tbody></table>
</body></html>
|