Negative Numbers on time Axis

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
timduy
Posts: 50
Joined: Sun Jan 15, 2012 12:24 am

Negative Numbers on time Axis

Unread post 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 8849 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Negative Numbers on time Axis

Unread post by TomDoan »

What about the NUMBER option on GRAPH:

all 100
set junk = %ran(1.0)
graph(number=-10)
# junk
timduy
Posts: 50
Joined: Sun Jan 15, 2012 12:24 am

Re: Negative Numbers on time Axis

Unread post 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 8842 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Negative Numbers on time Axis

Unread post by TomDoan »

You would have to post the program and data set. I can't reproduce that.
timduy
Posts: 50
Joined: Sun Jan 15, 2012 12:24 am

Re: Negative Numbers on time Axis

Unread post 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 770 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Negative Numbers on time Axis

Unread post 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.
Post Reply