Page 1 of 1

how to plot individual points (10 day weather forecast)

PostPosted: Tue Sep 11, 2018 3:19 pm
by bsp9493
Question...

using wunderground plugin for data

i have a multiple items that I want to plot over a 10 day period

ie

tempHi1, tempHi2, tempHi3...tempHi10
tempLo1, tempLo2, tempLo3...tempLo10
POP1,POP1,POP3...POP10

and potentially others.... 1-10

so in the case above, I want to plot 30 numbers to give 2 lines and one bar on the same graph over a 10 day period.

I don't see a way to do this with this many numbers.

when I try this, I appear to be limited the number of data points, and, it's pulling historical data from the sql db, not current and future data.

not sure I have explained this well, but basically I want to do this (as provided by matPlotLib - see 2nd attachment) but only do it my way (maybe only 3 days, maybe 5, maybe 7, maybe add other items, etc)

is there a way?


I have been able to take the 3 data points and plot them, historically, but I cannot seem to find a way to grab all 30 points and plot the 30 values individually (see 1st attachment)

red, blue and teal are what I want - however, attachment is generated based on historical data of only 1 of each data point (tempHi1, tempLo1, and POP1)

the black and dashed yellow lines are tempHi2 and tempHi3 (again, proving to me it is using historical data and not the actual data points for 1-10)

or maybe I'm trying to do the impossible - LOL
I'm guessing I just don't fully understand the functionality.

Thanx as always

dave

Re: how to plot individual points (10 day weather forecast)

PostPosted: Tue Sep 11, 2018 5:26 pm
by kw123
There is an option to plot every x data point in the line selection.


Sent from my iPhone using Tapatalk

Re: how to plot individual points (10 day weather forecast)

PostPosted: Tue Sep 11, 2018 8:53 pm
by kw123
I mean this selection:
Screen Shot 2018-09-11 at 21.52.10.png
Screen Shot 2018-09-11 at 21.52.10.png (32.07 KiB) Viewed 2897 times
Screen Shot 2018-09-11 at 21.51.20.png
Screen Shot 2018-09-11 at 21.51.20.png (97.25 KiB) Viewed 2897 times

Re: how to plot individual points (10 day weather forecast)

PostPosted: Wed Sep 12, 2018 8:49 pm
by kw123
BUT there is no option to plot future data.. all data come either from sql db or are recorded as they occur life ie check device/state right now .


you could though do a completely independent plot with your own data you CREATE. it is called plot from File at the top of the plot edit.
format is
#;x;y1;y2...
1,55,3,4,
2,56,4,6
etc

but that plot can not be combined with regular indigo data

Re: how to plot individual points (10 day weather forecast)

PostPosted: Wed Sep 12, 2018 9:31 pm
by bsp9493
that might work...

Hmmm have to think how to get my indigo data into a file...

Thanx!!!

Re: how to plot individual points (10 day weather forecast)

PostPosted: Thu Sep 13, 2018 6:04 am
by siclark
Do you need to plot within Indigoplot to show on a dashboard, or are you just using it as a simple way to get the data?

You can just query the sql (or better postgresql) database from another program and use that, where you can build in more complex logic. I have some of my data in dashboards in Qlikview (needs PC or Parallels) which can show more plots and do more complex calcs that indigoplot can.

Depends where you want to see the data?

Re: how to plot individual points (10 day weather forecast)

PostPosted: Thu Sep 13, 2018 8:43 am
by bsp9493
I was going to use it in a control page.

Not a big deal... matolotlib has an option that works.

Just had some spare time and started playing with both to see what i can do :)

Thanx Karl