On 5/11/07, Chris Burke <[EMAIL PROTECTED]> wrote:
The plot demo Styles|Style 2 uses xlabels. Does this help, if not can
you give a specific example?

Unfortunately, this does not seem to help me.

The Style 2 demo uses implicit values (indices) for the x axis, while
my code uses explicit values for the x axis.  Another potential issue
is that #~.2 -/\ X for my x axis is not 1 (the values are not evenly
spaced).

When I tried to add explicit X values, things got messed up.

For example (with require'dates') adding a line:
t=. 0 tsrep 6{."1>:0 12 1#:24035+i.16
And changing the xticpos line to be
pd 'xticpos ',":t{~steps 0 15 5
And changing the data pd line to
pd g;t

produces a graph that has problems which are different from my problems
but perhaps close enough to be relevant.

In my graph, both the data and the labels occupy roughly 20% of the
horizontal space occupied by the plot, and they are centered -- with
significant white space on both the left and right of the data and labels.

In the above modified graph, I get all the data clustered in the upper
left hand corner of the graph and all the labels clustered in the
lower right hand corner of the graph.

Also, if I replace the xticpos line in the modified Style 2 demo with
pd 'xticpos ',":steps 0 15 5

I instead get all the labels clustered in the lower left hand corner of the
graph and all the data clustered in the upper right hand corner of the
graph (though not as tightly clustered as with the other xticpos line).

I sort of feel like I'm missing some documentation (maybe on what kinds
of units are needed for xticpos), but perhaps also the code was not
designed to deal with this issue?

Thanks,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to