Perhaps a bit clumsy ...

pd 'reset'
pd (i.10); 5+*:i.10
pd 5 5;0 100
pd 'show'

... but if you wrap it in a verb, nobody will notice

Ben

________________________________________
From: Programming [[email protected]] on behalf of Ryan 
Eckbo [[email protected]]
Sent: Tuesday, March 08, 2016 01:23
To: Programming forum
Subject: [Jprogramming] Add vertical line to plot

I have a plot of a histogram, i.e.

  plot bins; counts

to which I'd like to add a vertical line denoting the mean.  I saw a
post on how to
create grid lines using complex numbers, but I don't know how to add a
vertical line
to an existing plot of data.  Does anyone know how?

Thanks!
Ryan

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

Reply via email to