jlab-sensing / DirtViz

DirtViz is a project to visualize data collected from sensors deployed in sensor networks.
https://dirtviz.jlab.ucsc.edu/
MIT License
4 stars 8 forks source link

make EC and VWC lines different textures #152

Closed cjosephson closed 4 months ago

cjosephson commented 6 months ago
image

Our VWC/EC plot has solid lines for both qualities. To make it easier to read, can we have dashed lines for EC, and solid for the VWC?

aaron-wu1 commented 6 months ago

Because of how tightly bunched together the data points are on the graph, the dashed line doesn't show well when zoomed out. Here's a screenshot of the dashed lines zoomed out (first pic) and zoomed in (second pic):

Screenshot 2024-02-04 at 7 11 54 PM Screenshot 2024-02-04 at 7 12 23 PM

If rendering the individual data points isn't necessary/needed, I could not display them and it would look like this. (No dot for each data point)

Screenshot 2024-02-04 at 7 17 27 PM Screenshot 2024-02-04 at 7 18 50 PM
cjosephson commented 6 months ago

Can we sub-sample the datapoints or not display them?

On Sun, Feb 4, 2024 at 7:20 PM Aaron Wu @.***> wrote:

Because of how tightly bunched together the data points are on the graph, the dashed line doesn't show well when zoomed out. Here's a screenshot of the dashed lines zoomed out (first pic) and zoomed in (second pic): Screenshot.2024-02-04.at.7.11.54.PM.png (view on web) https://github.com/jlab-sensing/DirtViz/assets/12989649/0cb6d77e-5dc4-48cc-b195-3cc43da6d6f0 Screenshot.2024-02-04.at.7.12.23.PM.png (view on web) https://github.com/jlab-sensing/DirtViz/assets/12989649/028ce0ae-cbe6-442c-96c8-f33180b9f480

If rendering the individual data points isn't necessary/needed, I could not display them and it would look like this. (No dot for each data point) Screenshot.2024-02-04.at.7.17.27.PM.png (view on web) https://github.com/jlab-sensing/DirtViz/assets/12989649/b2a4e5cf-4641-48f6-8e72-77ac193af279 Screenshot.2024-02-04.at.7.18.50.PM.png (view on web) https://github.com/jlab-sensing/DirtViz/assets/12989649/4eb03bef-0ab6-4c89-8be7-8fde19c65730

— Reply to this email directly, view it on GitHub https://github.com/jlab-sensing/DirtViz/issues/152#issuecomment-1926163604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMWRVQO4O2M4KD7Q7GKD3YSBFY7AVCNFSM6AAAAABCR54JR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWGE3DGNRQGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Colleen Josephson http://www.cjosephson.net

aaron-wu1 commented 6 months ago

I'll have to look into that. With a quick google search, I found some plugins that downsample but I'm not sure if they can downsample as the charts zoom out. I'm assuming that we want more accuracy when zoomed in and downsampling as we zoom out.

cjosephson commented 6 months ago

yes, exactly

On Sun, Feb 4, 2024 at 9:02 PM Aaron Wu @.***> wrote:

I'll have to look into that. With a quick google search, I found some plugins that downsample but I'm not sure if they can downsample as the charts zoom out. I'm assuming that we want more accuracy when zoomed in and downsampling as we zoom out.

— Reply to this email directly, view it on GitHub https://github.com/jlab-sensing/DirtViz/issues/152#issuecomment-1926236501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMWRUACYRIZUWCMMA25ALYSBRWLAVCNFSM6AAAAABCR54JR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWGIZTMNJQGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Colleen Josephson http://www.cjosephson.net