/usr/share/doc/racket/mrlib/Plot.html is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>12 Plot</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,"tocview_0");">▼</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Mr<span class="mywbr"> </span>Lib:<span class="mywbr"> </span> Extra GUI Libraries</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1 </td><td><a href="Aligned_Pasteboard.html" class="tocviewlink" data-pltdoc="x">Aligned Pasteboard</a></td></tr><tr><td align="right">2 </td><td><a href="Bitmap_Label.html" class="tocviewlink" data-pltdoc="x">Bitmap Label</a></td></tr><tr><td align="right">3 </td><td><a href="Cache-image_Snip.html" class="tocviewlink" data-pltdoc="x">Cache-<wbr></wbr>image Snip</a></td></tr><tr><td align="right">4 </td><td><a href="Close_Icon.html" class="tocviewlink" data-pltdoc="x">Close Icon</a></td></tr><tr><td align="right">5 </td><td><a href="GIF_and_Animated_GIF_Writing.html" class="tocviewlink" data-pltdoc="x">GIF and Animated GIF Writing</a></td></tr><tr><td align="right">6 </td><td><a href="Graphs.html" class="tocviewlink" data-pltdoc="x">Graphs</a></td></tr><tr><td align="right">7 </td><td><a href="Hierarchical_List_Control.html" class="tocviewlink" data-pltdoc="x">Hierarchical List Control</a></td></tr><tr><td align="right">8 </td><td><a href="Include_Bitmap.html" class="tocviewlink" data-pltdoc="x">Include Bitmap</a></td></tr><tr><td align="right">9 </td><td><a href="Interactive_Value_Port.html" class="tocviewlink" data-pltdoc="x">Interactive Value Port</a></td></tr><tr><td align="right">10 </td><td><a href="Name_Message.html" class="tocviewlink" data-pltdoc="x">Name Message</a></td></tr><tr><td align="right">11 </td><td><a href="Path_Dialog.html" class="tocviewlink" data-pltdoc="x">Path Dialog</a></td></tr><tr><td align="right">12 </td><td><a href="" class="tocviewselflink" data-pltdoc="x">Plot</a></td></tr><tr><td align="right">13 </td><td><a href="Switchable_Button.html" class="tocviewlink" data-pltdoc="x">Switchable Button</a></td></tr><tr><td align="right">14 </td><td><a href="Image_Core.html" class="tocviewlink" data-pltdoc="x">Image Core</a></td></tr><tr><td align="right">15 </td><td><a href="Matrix_Snip.html" class="tocviewlink" data-pltdoc="x">Matrix Snip</a></td></tr><tr><td align="right">16 </td><td><a href="snip.html" class="tocviewlink" data-pltdoc="x">Snip Canvases</a></td></tr><tr><td align="right">17 </td><td><a href="TeX_Table.html" class="tocviewlink" data-pltdoc="x">Te<span class="mywbr"> </span>X Table</a></td></tr><tr><td align="right">18 </td><td><a href="Terminal_Window.html" class="tocviewlink" data-pltdoc="x">Terminal Window</a></td></tr><tr><td align="right">19 </td><td><a href="Acknowledgments.html" class="tocviewlink" data-pltdoc="x">Acknowledgments</a></td></tr><tr><td align="right"></td><td><a href="doc-index.html" class="tocviewlink" data-pltdoc="x">Index</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._data-set%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">data-<wbr></wbr>set</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._plot-setup%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">plot-<wbr></wbr>setup</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._plot%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">plot</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="Path_Dialog.html" title="backward to "11 Path Dialog"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "MrLib: Extra GUI Libraries"" data-pltdoc="x">up</a> <a href="Switchable_Button.html" title="forward to "13 Switchable Button"" data-pltdoc="x">next →</a></span> </div><h3 x-source-module="(lib "mrlib/scribblings/mrlib.scrbl")" x-source-pkg="gui-doc" x-part-tag=""Plot"">12<tt> </tt><a name="(part._.Plot)"></a><a name="(mod-path._mrlib/plot)"></a>Plot</h3><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="defmodule"><tr><td align="left"><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=require.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._require%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">require</a></span><span class="stt"> </span><a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">mrlib/plot</span></a><span class="RktPn">)</span></td><td align="right"><span class="RpackageSpec"><span class="Smaller"> package:</span> <span class="stt">gui-lib</span></span></td></tr></table></div><div class="SIntrapara">The <a href="" class="RktModLink" data-pltdoc="x"><span class="RktSym">mrlib/plot</span></a> library provides
a simple tool for plotting data values to a device context.</div></p><p><span style="font-weight: bold">This is an old library, kept only for compatibility.</span> You will
undoubtedly want to use the <a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?tag=%28mod-path._.%27plot.%27%29&version=6.7" class="RktModLink Sq" data-pltdoc="x"><span class="RktSym">plot</span></a> library instead, which offers
many more features and is actively maintained.</p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><a name="(def._((lib._mrlib/plot..rkt)._data-set-max-y))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-min-y))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-max-x))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-min-x))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-pen))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-connected~3f))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set-points))"></a><a name="(def._((lib._mrlib/plot..rkt)._make-data-set))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set~3f))"></a><a name="(def._((lib._mrlib/plot..rkt)._struct~3adata-set))"></a><a name="(def._((lib._mrlib/plot..rkt)._data-set))"></a><span title="Provided from: mrlib/plot | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._data-set%29%29" class="RktValDef RktValLink" data-pltdoc="x">data-set</a></span></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym">points</span><span class="stt"> </span><span class="RktSym">connected?</span><span class="stt"> </span><span class="RktSym">pen</span><span class="stt"> </span><span class="RktSym">min-x</span><span class="stt"> </span><span class="RktSym">max-x</span><span class="stt"> </span><span class="RktSym">min-y</span><span class="stt"> </span><span class="RktSym">max-y</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._make-data-set%29%29" class="RktValLink" data-pltdoc="x">make-data-set</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">points</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=draw&rel=point_.html&version=6.7" class="RktValLink Sq" data-pltdoc="x">point%</a></span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">connected?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">pen</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=draw&rel=pen_.html&version=6.7" class="RktValLink Sq" data-pltdoc="x">pen%</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">min-x</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">max-x</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">min-y</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">max-y</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">The <span class="RktSym">points</span> field contains the data values to plot, and
<span class="RktSym">connected?</span> indicates whether the points are connected by a
line. The <span class="RktSym">pen</span> field provides a pen for plotting
points/lines. The remaining fields determine the plotting area within
a drawing context.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>struct</p></div></div><table cellspacing="0" cellpadding="0" class="RForeground"><tr><td><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=define-struct.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fbase..rkt%2529._struct%2529%2529&version=6.7" class="RktStxLink Sq" data-pltdoc="x">struct</a></span></td><td><span class="hspace"> </span></td><td><span class="nobreak"><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-y-axis-label))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-x-axis-label))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-y-axis-marking))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-x-axis-marking))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-grid-pen))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-grid~3f))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-axis-pen))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-axis-number-font))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup-axis-label-font))"></a><a name="(def._((lib._mrlib/plot..rkt)._make-plot-setup))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup~3f))"></a><a name="(def._((lib._mrlib/plot..rkt)._struct~3aplot-setup))"></a><a name="(def._((lib._mrlib/plot..rkt)._plot-setup))"></a><span title="Provided from: mrlib/plot | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._plot-setup%29%29" class="RktValDef RktValLink" data-pltdoc="x">plot-setup</a></span></span></span></td><td><span class="hspace"> </span><span class="RktPn">(</span></td><td><span class="nobreak"><span class="RktSym">axis-label-font</span></span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">axis-number-font</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">axis-pen</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">grid?</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">grid-pen</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">x-axis-marking</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">y-axis-marking</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">x-axis-label</span></td></tr><tr><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="hspace"> </span></td><td><span class="RktSym">y-axis-label</span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktPn">#:extra-constructor-name</span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._make-plot-setup%29%29" class="RktValLink" data-pltdoc="x">make-plot-setup</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">axis-label-font</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=draw&rel=font_.html&version=6.7" class="RktValLink Sq" data-pltdoc="x">font%</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">axis-number-font</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=draw&rel=font_.html&version=6.7" class="RktValLink Sq" data-pltdoc="x">font%</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">axis-pen</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym">pen</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">grid?</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._any%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">any/c</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">grid-pen</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym">pen</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">x-axis-marking</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">y-axis-marking</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=number-types.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._real%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">real?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">x-axis-label</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr><tr><td><span class="hspace"> </span><span class="RktSym">y-axis-label</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">string?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Configures a plot. The <span class="RktSym">grid?</span> field determines whether to draw
a grid at axis markings, and the <span class="RktSym">x-axis-marking</span> and
<span class="RktSym">y-axis-marking</span> lists supply locations for marks on each
axis. The other fields are self-explanatory.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._mrlib/plot..rkt)._plot))"></a><span title="Provided from: mrlib/plot | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._plot%29%29" class="RktValDef RktValLink" data-pltdoc="x">plot</a></span></span><span class="hspace"> </span><span class="RktVar">dc</span><span class="hspace"> </span><span class="RktVar">data</span><span class="hspace"> </span><span class="RktVar">setup</span><span class="RktPn">)</span><span class="hspace"> </span>→<span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">dc</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace"> </span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=draw&rel=dc___.html&version=6.7" class="RktValLink Sq" data-pltdoc="x">dc<%></a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">data</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktPn">(</span><span class="RktSym"><a href="https://download.racket-lang.org/docs/6.7/html/local-redirect/index.html?doc=reference&rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._listof%2529%2529&version=6.7" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._data-set~3f%29%29" class="RktValLink" data-pltdoc="x">data-set?</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace"> </span><span class="RktVar">setup</span><span class="hspace"> </span>:<span class="hspace"> </span><span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._plot-setup~3f%29%29" class="RktValLink" data-pltdoc="x">plot-setup?</a></span></td></tr></table></blockquote></div><div class="SIntrapara">Draws the <span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._data-set%29%29" class="RktValLink" data-pltdoc="x">data-set</a></span>s in <span class="RktVar">data</span> into the given
<span class="RktVar">dc</span>. Uses drawing-context coordinates in <span class="RktSym"><a href="#%28def._%28%28lib._mrlib%2Fplot..rkt%29._data-set%29%29" class="RktValLink" data-pltdoc="x">data-set</a></span>s
that will accommodate all of the data sets.</div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, "6.7", "../");" onfocus="this.style.color="black"; this.style.textAlign="left"; if (this.value == "...search manuals...") this.value="";" onblur="if (this.value.match(/^ *$/)) { this.style.color="#888"; this.style.textAlign="center"; this.value="...search manuals..."; }"/></form> <a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot("6.7");">top</a></span><span class="navright"> <a href="Path_Dialog.html" title="backward to "11 Path Dialog"" data-pltdoc="x">← prev</a> <a href="index.html" title="up to "MrLib: Extra GUI Libraries"" data-pltdoc="x">up</a> <a href="Switchable_Button.html" title="forward to "13 Switchable Button"" data-pltdoc="x">next →</a></span> </div></div></div><div id="contextindicator"> </div></body></html>
|