dealii / dealii

The development repository for the deal.II finite element library
https://www.dealii.org
Other
1.38k stars 745 forks source link

Redo tutorial images #8219

Open bangerth opened 5 years ago

bangerth commented 5 years ago

A lot of the pictures shown in the tutorials are quite old and show an aesthetic and color scheme that is a bit outdated. In particular, we have many many pictures that were created with Visit's default "rainbow" color scale. But we know that the rainbow scale is a bad choice (why, or why, does Visit not change its default!) because it lumps half of the color range into the greens, and it is not a good choice for people with color blindness either.

We should redo essentially all of the pictures of the tutorial using better color schemes. For example, in Visit the "oranges", "blues", and "magma" scales are pretty good. I think this might make for a nice project at a hackathon, or if someone wanted to spend a few minutes at the end of a long day on being a bit of an artist.

Rombur commented 5 years ago

The people of matplotlib did a lot of work on how to create good colormaps. Here is their page about it and a nice video about it

drwells commented 5 years ago

See also #6948: we should tackle both at once.

bangerth commented 5 years ago

Ah yes, @Rombur, thanks for the link. I had looked for it, but couldn't find it (because I was looking for python, not matplotlib).

marcfehling commented 5 years ago

Here is another reference: "Ten Simple Rules for Better Figures" https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003833

vweeds commented 4 years ago

I've been doing a lot of tutorials as a way to learn the software and am happy to help if there is a still a need. Using the latest version of Visit Parallel as my visualization software.

bangerth commented 4 years ago

@vweeds -- any help is always appreciated! If you see pictures that you think ought to be updated, post here about it and we'll give you feedback!

drwells commented 4 years ago

@vweeds basically anything that uses the rainbow color scheme needs to be updated.

jpthiele commented 2 years ago

Just found this and I wholeheartedly support this. I just went through all current steps and here's the list which still has rainbow/jet plots. Also @bangerth it would be good to know where to "publish" these images so they end up at the right place. Also which colorbar was used for the already changed ones, so it's consistent? (Even though personally I'd prefer viridis or cividis)

jpthiele commented 2 years ago

Cividis is a color vision deficiency optimized version of viridis as described here: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0199239

I'm not sure whether doxygen would support this but if it does maybe there could be a switch between different colorscales, i.e. viridis, cividis and bw maybe.

bangerth commented 1 month ago

Prompted by my graduate student @Sam0h51, here is sort of what I envision: