how to plot individual points (10 day weather forecast)

Posted on
Tue Sep 11, 2018 3:19 pm
bsp9493 offline
Posts: 153
Joined: Nov 30, 2017
Location: Kelowna, BC

how to plot individual points (10 day weather forecast)

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
Attachments
10 day forecast-hour-S1.jpg
10 day forecast-hour-S1.jpg (48.95 KiB) Viewed 2755 times
10dayForecast.jpg
10dayForecast.jpg (44.25 KiB) Viewed 2755 times

Posted on
Tue Sep 11, 2018 5:26 pm
kw123 offline
User avatar
Posts: 8365
Joined: May 12, 2013
Location: Dallas, TX

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

There is an option to plot every x data point in the line selection.


Sent from my iPhone using Tapatalk

Posted on
Tue Sep 11, 2018 8:53 pm
kw123 offline
User avatar
Posts: 8365
Joined: May 12, 2013
Location: Dallas, TX

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

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 2724 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 2724 times

Posted on
Wed Sep 12, 2018 8:49 pm
kw123 offline
User avatar
Posts: 8365
Joined: May 12, 2013
Location: Dallas, TX

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

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

Posted on
Wed Sep 12, 2018 9:31 pm
bsp9493 offline
Posts: 153
Joined: Nov 30, 2017
Location: Kelowna, BC

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

that might work...

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

Thanx!!!

Posted on
Thu Sep 13, 2018 6:04 am
siclark offline
Posts: 1961
Joined: Jun 13, 2017
Location: UK

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

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?

Posted on
Thu Sep 13, 2018 8:43 am
bsp9493 offline
Posts: 153
Joined: Nov 30, 2017
Location: Kelowna, BC

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

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests