Bug 430820 - Small multiples visualization
Summary: Small multiples visualization
Status: RESOLVED MOVED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-26 05:59 UTC by disuser
Modified: 2023-06-08 07:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Trellis plots (100.31 KB, image/png)
2021-01-07 14:10 UTC, disuser
Details
Trellis plots (plots added one by one) (37.39 KB, image/png)
2021-01-07 14:18 UTC, disuser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description disuser 2020-12-26 05:59:46 UTC
Feature request: implement a "small multiples" visualization across the board.

A few links on the technique:

https://en.wikipedia.org/wiki/Small_multiple
https://www.displayr.com/the-psychology-of-small-multiples/
https://www.perceptualedge.com/example11.php
Comment 1 Alexander Semke 2021-01-05 19:49:44 UTC
The trellis plot (aka "small multiples") can be quickly obtained already by selecting the option "One plot per curve" in the "Plot Data"-dialog. So, if you have a spreadsheet with one common X-column and multiple columns for the Y-datasets, just open this dialog and check this option. Is this what you're looking for?
Comment 2 disuser 2021-01-06 08:34:42 UTC
You are right. It works if you select all the relevant columns at once. However I have tried another route. Namely, if you select each column separately to plot them (xy-plots or histograms) one by one in an existing worksheet, it will work as expected until you attempt to add a third plot or more. Then the whole worksheet becomes messed up or more precisely - almost empty.
Comment 3 disuser 2021-01-07 14:10:21 UTC
Created attachment 134637 [details]
Trellis plots
Comment 4 disuser 2021-01-07 14:11:22 UTC
Please, see the enclosed screenshots showing two cases: 1. Four columns plotted at once in the same worksheet and 2. Four columns plotted one by one in the same worksheet. Even in the first case there is a great opportunity for further improvement, I think. (e.g. I don't see the plot of the fourth column on my screen and there is no scrollbar displayed until I resize the window; automatic checking if the axes are actually the same and offering an option to unify them would be useful; a new option to apply a theme before creating a new worksheet also, to name just a few ideas).
Comment 5 disuser 2021-01-07 14:18:57 UTC
Created attachment 134638 [details]
Trellis plots (plots added one by one)
Comment 6 Alexander Semke 2021-01-07 21:13:08 UTC
(In reply to disuser from comment #5)
> Created attachment 134638 [details]
> Trellis plots (plots added one by one)
yes, this looks completely broken. We need to fix this for 2.9. Also, for trellis plots it's still maybe better to have a dedicated wizard/dialog similar to the current "plot data dialog" where the user can specify whether a common axis has to be used and some other trellis specific properties. Yes, a trellis plot can be constructed manually using the building blocks we have already but we need to provide a more comfortable option for the user to get to this result.
Comment 7 disuser 2021-01-10 08:03:03 UTC
I'm not sure which solution might best meet your overall design needs. It may be useful first to find important common features amongst e.g. correlograms and trellis plots etc. to set them against the current goals of limitations of LabPlot's worksheets. 

I believe that Schneiderman’s Mantra ist relevant here: 1. Overview first, 2. Zoom and filter, 3. Details on demand.

https://www.r-graph-gallery.com/correlogram.html
https://www.r-graph-gallery.com/223-faceting-with-ggplot2.html
Comment 8 disuser 2021-01-10 08:04:19 UTC
EDIT: ... to set them against the current goals AND limitations of LabPlot's worksheets.
Comment 9 disuser 2021-01-10 09:16:41 UTC
+ scatter plots with histograms (in addition to correlograms and trellis plots)
https://matplotlib.org/3.1.0/gallery/lines_bars_and_markers/scatter_hist.html
Comment 10 Martin 2023-02-23 09:57:16 UTC
(In reply to disuser from comment #9)
> + scatter plots with histograms (in addition to correlograms and trellis
> plots)
> https://matplotlib.org/3.1.0/gallery/lines_bars_and_markers/scatter_hist.html

Can you retry with the latest version of Labplot (Development version)?