Re: [racket-users] Questions about plot

2018-12-05 Thread Matt Jadud
Hi Doug, I suspect (in this case), I'd like to build on/leverage plot, because I'd like things to place nice in DrRacket's REPL (for example), and be able to play with the plot ecosystem. To save you any work, I'll circle around later if future me thinks current me was wrong. This is crossing

Re: [racket-users] Questions about plot

2018-12-05 Thread Doug Williams
Matt, I have done many extensions to plots for a variety of reasons. Most of my extensions are a third option: Build on dc%. I typically make a new widget, say based on a horizontal or vertical panel with one or more embedded canvases. Then I use plot/dc to render directly on those canvases. I

[racket-users] Questions about plot

2018-12-05 Thread Matt Jadud
Hi all, If I want to develop a new plot type, would I do best to: 1. Build on plot, or 2. Build on pict? I suspect #1. If I want to (say) have a number line, I would like to have an x-axis, centered in my plot area (vertically), and no y-axis. I've been reading the plot code for scatter plots,