Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Alex Harsanyi
On Wednesday, March 20, 2019 at 10:35:51 AM UTC+8, Ben Greenman wrote: > > > Could you (or Ben or Matt) elaborate on how do you see this work for non > > plot programs? > > I'm thinking a color-map% object would define a possibly-infinite > sequence of colors that look nice in some way. The co

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Ben Greenman
On 3/19/19, Justin Zamora wrote: > On Tue, Mar 19, 2019 at 10:35 PM Ben Greenman > wrote: >> I'm thinking a color-map% object would define a possibly-infinite >> sequence of colors that look nice in some way. The colors might be >> useful anywhere where someone wants a "rainbow" of colors ... may

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Justin Zamora
On Tue, Mar 19, 2019 at 10:35 PM Ben Greenman wrote: > I'm thinking a color-map% object would define a possibly-infinite > sequence of colors that look nice in some way. The colors might be > useful anywhere where someone wants a "rainbow" of colors ... maybe > for: If you're interested in contra

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Ben Greenman
> Could you (or Ben or Matt) elaborate on how do you see this work for non > plot programs? > > For plots, the reason that color maps are useful is because the user will > usually not care what the colors are, as long as they stand out visually > and look pleasing next to each other. My proposed i

[racket-users] Re: printing decimals

2019-03-19 Thread Sanjeev Sharma
WHOPS ... SRFI/54 On Friday, March 15, 2019 at 1:57:03 PM UTC-4, sdgu...@gmail.com wrote: > > Hi all, > > I've been looking through the docs for a way to print decimals to a > defined precision. > > I can get close to what I want using something like ~a and giving it a set > width without h

[racket-users] Re: printing decimals

2019-03-19 Thread Sanjeev Sharma
SRFI 57, the function cat differs from ~r in several areas, but looks like a decent alternative On Friday, March 15, 2019 at 1:57:03 PM UTC-4, sdgu...@gmail.com wrote: > > Hi all, > > I've been looking through the docs for a way to print decimals to a > defined precision. > > I can get close t

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Alex Harsanyi
On Tuesday, March 19, 2019 at 9:53:23 PM UTC+8, Jens Axel Søgaard wrote: > > This is a great idea. > > It would be really nice to be able to use the colors also from non-plot > programs. > Could you (or Ben or Matt) elaborate on how do you see this work for non plot programs? For plots, the

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Jens Axel Søgaard
FWIW see also the Mathematica documentation on ColorSchemes and related functions for inspiration. https://reference.wolfram.com/language/guide/ColorSchemes.html /Jens Axel -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from th

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Matt Jadud
+1 in general, and making them accessible from outside plot makes sense to me. On Tue, Mar 19, 2019 at 9:53 AM Jens Axel Søgaard wrote: > This is a great idea. > > It would be really nice to be able to use the colors also from non-plot > programs. > > /Jens Axel > > > > > > > Den tir. 19. mar. 2

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Ben Greenman
+1 Maybe the colormaps should go in racket/draw. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, vi

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Jens Axel Søgaard
This is a great idea. It would be really nice to be able to use the colors also from non-plot programs. /Jens Axel Den tir. 19. mar. 2019 kl. 08.09 skrev Alex Harsanyi : > > The Python matplotlib package supports the concept of a colormap for > selecting > colors for each data set that is

Re: [racket-users] color-maps for the plot package

2019-03-19 Thread Sam Tobin-Hochstadt
I would like this a lot. I have often wished for an easy way to get some of the nice color schemes I see people use in ggplot2 and elsewhere. Sam On Tue, Mar 19, 2019 at 3:09 AM Alex Harsanyi wrote: > > > The Python matplotlib package supports the concept of a colormap for selecting > colors for

Re: [racket-users] Re: Racket News - Issue 4

2019-03-19 Thread 'Paulo Matos' via Racket Users
On 18/03/2019 14:55, Jérôme Martin wrote: > Thank you so much for this! > Opened this for you: https://github.com/racket-news/racket-news.github.io-src/issues/12 Feel free to add to it if something else comes to mind. > If I can suggest a project for next month's spotlight: > > - Christophe

Re: [racket-users] Re: Racket News - Issue 4

2019-03-19 Thread Jérôme Martin
On Tuesday, March 19, 2019 at 9:29:00 AM UTC+1, Paulo Matos wrote: > Sure! That's great. I will add it to the submissions for issue 5 or 6. > Thanks! > I can obviously have one more section but the reason I would prefer not > to is because at about ~26 issues per year, I would like to have g

Re: [racket-users] Re: Racket News - Issue 4

2019-03-19 Thread 'Paulo Matos' via Racket Users
On 18/03/2019 16:51, Matt Jadud wrote: > I'd be willing to pitch in some text around the thinking about the 'tbl' > library for introductory data work, so that people might push back on > it. Or, it would at least give a coherent surface for some conversation > around collaboration. > > If not

Re: [racket-users] Re: Racket News - Issue 4

2019-03-19 Thread 'Paulo Matos' via Racket Users
Hi Jerome, Thanks for all the suggestions. On 18/03/2019 14:55, Jérôme Martin wrote: > Thank you so much for this! > > If I can suggest a project for next month's spotlight: > > - Christopher Lemmer Webber, co-editor of the ActivityPub specs, is > working on a distributed social network library

[racket-users] color-maps for the plot package

2019-03-19 Thread Alex Harsanyi
The Python matplotlib package supports the concept of a colormap for selecting colors for each data set that is displayed -- the user uses an index, like color 0, 1, 2, etc and this is mapped to a RGB value in the color map. The visual aspect of a plot can be changed just by switching the color