Page 1 of 1

Negative Numbers on time Axis

Posted: Sun Dec 06, 2015 10:38 am
by timduy
I am trying to place negative numbers on the time axis. I think the only way to do this is using the XLABELS option. My problem is I can seem to tie the first tick/label to the first data point. Any suggestions? Thank you!
FIRSTTICK.jpg
FIRSTTICK.jpg (12.86 KiB) Viewed 8853 times

Re: Negative Numbers on time Axis

Posted: Sun Dec 06, 2015 11:46 am
by TomDoan
What about the NUMBER option on GRAPH:

all 100
set junk = %ran(1.0)
graph(number=-10)
# junk

Re: Negative Numbers on time Axis

Posted: Sun Dec 06, 2015 4:34 pm
by timduy
That's what I tried first...when I run this code this is what I get:
MINUS.jpg
MINUS.jpg (7.61 KiB) Viewed 8846 times

Re: Negative Numbers on time Axis

Posted: Mon Dec 07, 2015 9:34 am
by TomDoan
You would have to post the program and data set. I can't reproduce that.

Re: Negative Numbers on time Axis

Posted: Mon Dec 07, 2015 11:21 am
by timduy
It just the code you posted. I attached entire chart this time. I ran the code on versions 8.3 and 9.00b. Same result. MacOS X Yosemite.
MINUS2.pdf
(10.66 KiB) Downloaded 771 times

Re: Negative Numbers on time Axis

Posted: Mon Dec 07, 2015 11:45 am
by TomDoan
Download the newest build. It should work correctly. 9.00b was the first v9 for the Mac---we had several fixes since then.