Devon,

The line of code in getaxis1 produces a list of *formatted* digits. In your
case some of the digits are built of characters of length 1 and some are of
length 2. Could that be the problem, and could the format be adjusted to
fix that? I cannot find the plot command in your example to investigate
myself.


On Sun, Feb 8, 2015 at 3:45 PM, Devon McCormick <devon...@gmail.com> wrote:

> I'll see if this helps a long-standing problem of "bar-creep" that I've had
> with histograms for quite some time - see
>
> http://www.jsoftware.com/jwiki/NYCJUG/2013-07-09?highlight=%287-27%29#Quickly_Building_a_Simple_Simulation
> for an example.  The bars should line up with integral intervals but do so
> only in the center of the chart.
>
> On Sun, Feb 8, 2015 at 11:10 AM, Brian Schott <schott.br...@gmail.com>
> wrote:
>
> > Another possible way to do this for your example is to change the verb
> > getaxis1 in the script j64-803/addons/graphics/plot/jzplot.ijs so that
> the
> > first line below is replaced with the second line below (on about the
> 42nd
> > line). This fix only applies to 'type bar' as far as I know.
> >
> >
> >       Label=. ": each >:i.steps
> >       Label=. <@":"0{.>{."1 Data
> >
>
-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to