Neil Toronto
ecd43f7579
Fixed erroneous raised exception when plotting outside the bounds of
...
a 2D contour plot
Please merge to 5.3.2
2013-01-17 21:30:07 -07:00
Neil Toronto
ef2bd3fc0a
Revert "Added #:add-ticks? argument to all 2d-renderer-producing functions"
...
I forgot that (plot-x-ticks no-ticks) does the same thing.
This reverts commit 8ae3ff48d8
.
2012-07-10 11:22:26 -07:00
Neil Toronto
8ae3ff48d8
Added #:add-ticks? argument to all 2d-renderer-producing functions
2012-07-10 10:40:22 -07: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
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
989fcc4c22
Reworked how major and minor ticks are chosen; now isosurfaces3d always shows 3-5 surfaces, and all *-ticks parameters have the same default
...
Contour and isosurface 'auto levels reorg
2D contours: z-min = z-max now makes empty plot instead of infinite loop
3D isosurfaces: d-min = d-max now makes empty plot instead of infinite loop
Fixed contracts and corner case on marching squares and cubes functions
Better selection box and point-label formatting
Increased timeout on extreme-bounds-tests.rkt
2011-11-24 21:59:16 -09: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
75f76986c3
Plots with intervals too small or too large for flonums (2D and 3D)
...
Bounds fixpoint computation now uses only exact rationals
Speed improvements (3d-plot-area% now uses flonums internally as much as possible)
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
8b93de59c6
Abstracted render-thread into worker-thread (preparing for animated 2D plots)
...
Endpoint-indifferent line styles (allows styles in finely chopped lines)
Adjacent polygons now gapless (faces drawn w/o antialiasing; jaggies mitigated by supersampling)
2011-11-10 12:59:43 -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
ee71e01c13
Changed bounds argument contracts to (or/c regular-real? #f)
2011-11-10 12:59:43 -07:00
Neil Toronto
6bed60452a
Began finalizing public interface to *d-plot-area% classes
2011-11-10 12:59:42 -07:00
Neil Toronto
5a379b7236
Refactor *d-plot-area%; they are now containers for plot-device% instead of descendants of plot-area%
2011-11-10 12:59:42 -07:00
Neil Toronto
596e8b3775
Polar axes use r ticks
...
Removed r and d transforms (r needs design, d is useless)
2011-11-10 12:59:42 -07:00
Neil Toronto
4ae9ecf28e
Subdivide nonlinearly transformed 3D shapes
...
Detect possible nonconvergence in plot bounds fixpoint calculation
Collapse nearby 3D ticks
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
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
6b39863f1c
Source reorg
...
Added non-rendering plot elements
Optimizations
2011-11-10 12:59:41 -07:00
Neil Toronto
afadbbf0d1
Parameter lists
...
Some tick changes
Allow #f in renderer fields
2011-11-10 12:59:41 -07:00
Neil Toronto
4ca0729a2f
Combined renderer structs and fixpoint bounds determination
2011-11-10 12:59:41 -07:00
Neil Toronto
f593d468f7
Finished first draft of tick/axis overhaul
2011-11-10 12:59:41 -07:00
Neil Toronto
50cf71466e
Reduced the number of plot-specific contracts
2011-10-07 18:05:54 -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
d3b5e21cae
Added new plot library and old libfit (which plot still depends on)
2011-10-05 10:26:49 -06:00