I did some experimentation and found that xrange  will show a suprange of
the plotted data. 

NB.----------------------------------------
require'plot'

f=: 70}.i:100   NB. _30..100
c=: 9%~5*f-32   NB. convert to °c
pd'reset'
pd f;c
pd'xrange -30 20' NB. shows a subrange
pd'show'
NB.----------------------------------------
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of David
Vincent-Jones
Sent: Monday, July 01, 2013 13:11
To: [email protected]
Subject: [Jprogramming] Plot xrange question

I am having problems setting the origin of my xrange at anything other than
'0'. ... I am trying to set the x range to the days (31) of the current
month and do not understand why the following is failing.
pd 'xrange 1 ',(": $ days)
I am looking for the scale to be set from 1 to 31 and above gives 0 to 30.

David
----------------------------------------------------------------------
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