Commit Graph

28 Commits

Author SHA1 Message Date
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
bddcd76f7f Ensure snips handle rendering errors
Fraction tick formatting more reasonable for non-ticks (e.g. selection bounds, eventually plot labels)
2011-11-24 21:59:16 -09:00
Neil Toronto
2f308a5323 Click and drag to zoom 2D plots
Snip refactoring
2011-11-24 21:59:15 -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
8f914f653f Better error message when plot can't determine sensible bounds 2011-11-14 22:36:27 -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
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
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
dd471b4d73 Rename area.rkt -> plot-area.rkt 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
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
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
6b39863f1c Source reorg
Added non-rendering plot elements
Optimizations
2011-11-10 12:59:41 -07:00
Neil Toronto
ae64e8683a Parameter groups 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
27538e1214 Better save/restore of parameters in plot-pict and plot3d-pict 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
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
a07af20658 Fixed >=/c contracts 2011-10-07 19:22:33 -06:00
Neil Toronto
50cf71466e Reduced the number of plot-specific contracts 2011-10-07 18:05:54 -06:00
Neil Toronto
ce68c697fc Added plot-background-alpha and plot-foreground-alpha 2011-10-06 11:26:13 -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