x and y Scale questions

Posted on
Sat Jul 01, 2017 7:24 am
Professor Falken offline
User avatar
Posts: 289
Joined: Mar 29, 2015

x and y Scale questions

Karl,

This is a great plugin, thanks for providing it.

I have some questions on the labeling of scales.

Is there any way to leave off the label of the y scale? I am monitoring the on/off state of a device (so value of either 0 or 1) using the impulse plot feature. I set the scale from 0 to 1.5 to give nice lines, but I don't really need the numbers.

76645D46-0516-421D-A9AF-7A7FFAA3B2F7.jpg
76645D46-0516-421D-A9AF-7A7FFAA3B2F7.jpg (36.55 KiB) Viewed 1985 times


Similarly, on the x axis, I don't suppose there is more control over the time reporting. For example, on the above plot, I would like to set it up with each hour marked (and ticked) simply 5, 6, 7, 8, etc, instead of every 3 hours (3:00PM).

I realize this may be way more customization than is easy to build in to a plugin, but figured I'd ask in case it really is in there and I haven't found it yet.

Thanks

Posted on
Sat Jul 01, 2017 10:42 am
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: x and y Scale questions

The y axis is easy. The x / time axis not
I am on the road. Will post later today. But try to set tricks to blank or you could also do on/off. It is posted somewhere in the discussion or how to use. There is a PDF file.


Sent from my iPhone using Tapatalk

Posted on
Sat Jul 01, 2017 9:27 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: x and y Scale questions

with
y - Tick Marks...: " 0 off"0,"20" 20,"40 ON"40,"60"60,"80"80,"100"100 ..... including the quotes!!

you get
Code: Select all
100
80
60
ON 40
30
20
0 off
as tick marks on the y axis

so you could do for simple on/off
"off"0,"ON"1
and yrange 0:1.5
should give
Code: Select all
ON   at 1
Off  at 0

the general syntax is:
"text"place,"text"place...

regarding time axis : this is automatic , left to matplot / gnu plot.. only minimal settings.. this is something I always wanted to improve, but the number of variations is LARGE.. trying to get my head around this:
size of plot, size of font, time scale , what is the intention: details or overview .. one line or 2 (e.g. hh and am/pm or HH and weekday in 2. line ....)

in gnu plot we could offer a general format statement YOU would need to enter (e.g. %y%m .. etc) . In matplot it has to be done with a program statement (very difficult to enter in a text field..)

Karl

Posted on
Sun Jul 02, 2017 5:40 am
Professor Falken offline
User avatar
Posts: 289
Joined: Mar 29, 2015

Re: x and y Scale questions

Thanks Karl, that worked great, and I am glad to know that Y axis format trick for other plots as well.

I figured that the time axis thing was probably like you described. I guess if I want that much customization in a graph I'd have to lear more python and matplot!

Thanks again for both writing and taking the time to support this application for the Indigo community.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest