Commit Graph

44 Commits

Author SHA1 Message Date
Matthew Flatt
7ee6a814e5 explicitly close evaluator for plot doc
Although this shouldn't affect document rendering, since
each document is run under a custodian that is shut down,
it simplifies using the document individually to check for
leaks.
2012-11-04 06:09:21 -07:00
Eli Barzilay
a7064d5f6a A bunch of typo fixes from Richard Cleis. 2012-06-14 17:20:05 -04:00
Neil Toronto
a713ca8a8b Added nan?, infinite?, degrees->radians, radians->degrees, exact-round, exact-floor, exact-ceiling, exact-truncate to racket/math
Altered TR's random arithmetic testing to generate single-flonums and very small flonums; fails now because of erroneous types

Fixes to sgn, sinh, cosh, and tanh:
 * preserve single-flonum-ness
 * correct zero sign (-0.0) for negative return values that are smaller than epsilon
 * correct behavior with NaN and infinite inputs
2012-06-05 22:40:44 -06:00
Neil Toronto
ee95182386 Made (require plot) more obvious in the plot introduction (suggested by Jens Axel Søgaard)
Mentioned (plot-new-window? #t) early in the introduction

Increased drdr:timeout for plot.scrbl
2012-05-25 11:33:50 +09:00
Neil Toronto
365ee2c70d 1d, 2d and 3d function renderers no longer sample outside the function's bounds
This makes it more efficient to plot piecewise functions by drawing each piece with one renderer, and possible to plot functions with discontinuities by using a renderer to draw each continuous piece.
2012-05-25 10:40:05 +09:00
Neil Toronto
be49a59e4d Added plot-x-tick-label-angle, plot-x-tick-label-anchor, and similar for y and far axes 2012-04-30 16:12:12 -06:00
Neil Toronto
3862faee64 Fixed discrete-histogram gap and bounds calculation, expanded docs 2012-04-30 14:15:18 -06:00
Vincent St-Amour
cda496d4ed Doc fixes.
One is from Eric Hanchrow.
2012-04-30 14:13:32 -04:00
Robby Findler
33613a75a6 add an example from Neil \bot to the discrete-histogram docs 2012-04-29 21:29:37 -05:00
Neil Toronto
610280225c Added unstable/gui/snip (provides snip-canvas%) and docs
Changed plot-frame to use snip-canvas%, so resizing the frame resizes the plot; added Escape handler (closes the frame)
2012-03-03 12:37:09 -07:00
Neil Toronto
50df61fc4e Fixed typo in introduction 2012-02-25 22:47:09 -07:00
Neil Toronto
7d28eef00d Moved contract/c and treeof to unstable/contracts
Little plot doc fixes
2012-02-01 09:44:47 -07:00
Neil Toronto
015625e732 PLoT documentation for new renderers and plot/utils (code changes are only to move code around so a previously public function could be public again)
Many little doc fixes

Closes PR 12433

Closes PR 12435

Please please please merge into release
2012-01-23 15:56:11 -07:00
Matthew Flatt
d020c75202 remove libfit 2011-12-21 16:17:56 -07:00
Neil Toronto
f41fce1fc3 Finished icons docs, renamed racket-icon-style to default-icon-style 2011-11-29 12:11:07 -07:00
Neil Toronto
553c72ab28 Moved some flonum stuff (e.g. flatan2, flnext, +max.0, +min.0, etc.) to unstable/flonum (will document in another commit)
Moved Racket-language, doc-generating "defthing" defines to unstable/latent-contract/defthing (will document in another commit)
2011-11-25 18:40:19 -07:00
Neil Toronto
a23808dd95 Use rational? instead of regular-real?, cut some cruft
Make docs compile without warnings
2011-11-20 22:23:38 -08:00
Neil Toronto
cf75609d82 Little fixes 2011-11-14 22:01:07 -08:00
Neil Toronto
20e09c9f7f Little fixes and improvements 2011-11-14 22:01:07 -08:00
Neil Toronto
a710cbb7fe Speed/readability improvements in contour, surface and isosurface renderers
Progress on customization docs
Snip fixes and UI improvements
2011-11-14 22:01:07 -08:00
Neil Toronto
723a54a4d9 Added "Axis Transforms and Ticks" doc page 2011-11-11 18:12:40 -07:00
Neil Toronto
5bd8481aa7 2D stacked histograms, grouped histograms, collapse indistinguishable ticks, doc tests, fixes 2011-11-10 12:59:43 -07:00
Neil Toronto
56f70fb4f2 Exposed marching squares and cubes algorithms through plot/utils, speed improvements, fixes 2011-11-10 12:59:43 -07:00
Neil Toronto
ee71e01c13 Changed bounds argument contracts to (or/c regular-real? #f) 2011-11-10 12:59:43 -07:00
Neil Toronto
a4f245b273 Speed improvements in clipping 2011-11-10 12:59:42 -07:00
Neil Toronto
639ec15125 Added 'isoline' and 'isoline*' aliases for contour functions.
Added #:family argument to 2D label functions.
Various little fixes.
2011-11-10 12:59:41 -07:00
Neil Toronto
dab5caf67c Expanded numbered colors to 128 2011-11-10 12:59:41 -07:00
Neil Toronto
e90ec4b69f Added unstable/latent-contract
Reorganized contracts
Started exposing customization API in plot/utils
Now dog-fooding customization API in earnest
2011-11-10 12:59:41 -07:00
Neil Toronto
7270c27141 Fixed x/y mixup in 'axes'
Removed 'plot-tick-skip' parameter

Merge into 5.2
2011-10-14 22:06:15 -06:00
Neil Toronto
522ba14b9f Rename plot3d-animating? -> plot->animating?
Combine plot-ps-interactive? and plot-pdf-interactive? into plot-ps/pdf-interactive?
Rename plot3d-ambient-light-value -> plot3d-ambient-light
Fix off-by-one 2D plot area clipping
Add warning to docs about 'fit' disappearing
Stop providing 'fit', 'derivative', 'gradient' and 'make-vec' from the 'plot' module

Merge into 5.2
2011-10-13 16:16:02 -06:00
Neil Toronto
c655cd0efb Contract and parameter doc pages 2011-10-07 19:09:04 -06:00
Neil Toronto
50cf71466e Reduced the number of plot-specific contracts 2011-10-07 18:05:54 -06:00
Neil Toronto
644abe30fe Reworked number formatting for plot labels 2011-10-07 17:29:27 -06:00
Neil Toronto
8a60e1816a Fixed contracts in documentation 2011-10-07 13:09:27 -06:00
Neil Toronto
94a9a808ec Closes PR 12262. 2011-10-06 19:02:31 -06:00
Neil Toronto
55f71c9fa7 Finished doc page for plot/utils 2011-10-06 19:02:31 -06:00
Neil Toronto
45dfafb0b1 Finished 3D renderer doc page 2011-10-06 14:04:51 -06:00
Neil Toronto
b5f30fd5de Finished 2D renderer doc page 2011-10-06 13:23:49 -06:00
Neil Toronto
ce68c697fc Added plot-background-alpha and plot-foreground-alpha 2011-10-06 11:26:13 -06:00
Neil Toronto
8ae5b8c1f3 Added "Porting" section to the PLoT docs 2011-10-05 22:30:27 -06:00
Neil Toronto
cd98c4ac89 Changed 'points' contract on vecs to (listof (vector/c real? real?)) 2011-10-05 20:57:24 -06:00
Neil Toronto
20987fc320 Added plot-pict and plot3d-pict for slideshow plots
Added x, y, width, height arguments to plot/dc and plot3d/dc
2011-10-05 18:04:11 -06:00
Neil Toronto
c9ffe2830b Changed uses of dynamic-require to uses of lazy-require
Changed return contracts of 'plot', 'plot-snip', 'plot3d' and 'plot3d-snip' to (is-a?/c image-snip%)
2011-10-05 14:31:13 -06:00
Neil Toronto
d3b5e21cae Added new plot library and old libfit (which plot still depends on) 2011-10-05 10:26:49 -06:00