Page 1 of 1

...dot/numbers every x point, "at every Max per month" ?

PostPosted: Tue Apr 26, 2016 7:50 am
by Gusten
Hi
I am trying to get a Plot thats shows the hole year and i would like to have one Histogram BAR every month showing the total Kwh of that month

I have been testing with "...dot/numbers every x Points:" but i cant find any good one to use.

Anyone have any ideea how to get one histogram "bar" per month and that should bee the last once Before the monthly reset?

And is it posible to get the histogram bars a Little wider?

/Martin

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sat Aug 06, 2016 12:49 pm
by Asconasny
Hi
Did you figure out how to do this?
Im trying to do the same..

asconasny

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sat Aug 06, 2016 12:58 pm
by Gusten
No i tried different approches but i never got it as i liked, so its still on my todo list. If you solve it please let me know how

/Martin


Skickat från min iPhone med Tapatalk

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sat Aug 06, 2016 1:02 pm
by kw123
I am not home so I have to do this by memory
Try width for histogram The result is slightly different for mat or gnu plot

Don't remember if it has dot every month.

You could do start on Mondays = whole week in section 2 that might help.
Will look at it when I am back.




Sent from my iPhone using Tapatalk

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sat Aug 06, 2016 1:27 pm
by kw123
this will select the proper data: data measurement not average but consumption (eg elecrical-) , cost =1 , reset every months

there is only show last data point per day /week, but not per months. Will add this in the next version .


the challenge is: day and week is easy, last of of month not so much as its changes.
In matplot we can select the data in the py program. While gnuplot has options like every nth bin, but that does not work for last day in month(31,28,31,30,...). Need to think about how to do it.



Karl

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 07, 2016 9:14 am
by kw123
I would to design this correctly.
What should the options be?
Last value at last bin of minute/hour/day per hour/day/week/month?
And or
First value of xx at beginning of bin or end of bin??
I
But first value of first bin of first xx is likely the same as the last value of last bin of xx
In other words: Value at 23:59:59 == value at
00:00:01

I would like to get some input

Karl


Sent from my iPhone using Tapatalk

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 07, 2016 12:19 pm
by Asconasny
I would believe its sufficient with
Last value at last bin of day/week/month.

I understand the month can be tricky.. this is way over my head anyway. just glad you support the community!

What would be awesome is the possibility to choose from date to date.
Say you have data from 2 years, and you want to plot a specific day or month or whatever within those 2 years.

Don't know if its doable but would be a great feature.

Regards
Asconasny

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 07, 2016 12:53 pm
by Gusten
Awesome

It would work to use the first bin of the month if the monthly reset could be after the bin is plotted, this would also look nicer when the histogram is above the text of the month, when using the last bin of the month it plots the histogram above the wrong month.

Thanx

Martin

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sat Aug 13, 2016 1:53 am
by kw123
it is in the upgrade list. ETA see Jay and Matt :wink:

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Fri Aug 26, 2016 5:09 pm
by kw123
I have the following ready to be tested:

for each (data)-line- besides min/max/ first last every x bin/ numbers... you can now:
1. from to time frame (besides the whole plot), you can now select a line to be plotted for only eg 5 hours
2. plot only even/ odd hour (or days): can give a line 2 colors that change every hour/ day
3. plot only noon/end of day/ last bin in hour/day/week/month/year

the short line is set for specific time frame (option 1)
the red/blue line has 2 lines: odd days and even days
the orange dots are end of day
the greenish dots are at noon
the black dot /star in minimum/max values

the lower line is thick because the values vary strongly, has nothing to do the the feature


anyone interested to test?

Karl

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 28, 2016 11:01 am
by Gusten
Nice :) I would love to test it
Martin


Skickat från min iPhone med Tapatalk

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 28, 2016 12:18 pm
by kw123
will have it ready tonight.
it works, but would still like do some testing.

also added:
- min/max / hour/day/month (only for matplot though)
- plot specific hour / day of week only

the list of options for a line is now >> 20

Karl
.

Re: ...dot/numbers every x point, "at every Max per month" ?

PostPosted: Sun Aug 28, 2016 3:26 pm
by kw123
coming up: example with max and min for each month with marker and text

July minimal = 0.1/28.0
Aug min/max = 21.1/23.1


the first min point is bad as there is no data before july 8

Karl