On further reflection, it looks like the axes display is reversed.

I get better plot results with:

xline=:  '&cht=lc&chs=300x300&chds=<MIN>,<MAX>&chxt=y,x&chxr=1,<MIN>,<MAX>'

where chtxt is changed from x,y to y,x.

Also, this seems to work for the 'stick,line' plot:

xlinexy=:'&cht=lxy&chs=300x300&chds=<MIN>,<MAX>&chxt=y,x&chxr=0,<YMIN>,<YMAX>|1,<MIN>,<MAX>&chm=v,FF0000,0,::1,2'
--

On 1/16/2011 11:07, Eric Iverson wrote:
> I agree that this is an important lab to get to run clean and will make some
> minor  adjustments.
>
> Having a mix of jhs GC plot and jgtk plot in the same session probably
> shouldn't be allowed to happen in the lab.
>
> For now my goal is to get that lab to run clean in JHS. I will probably
> adjust it so that only JHS viewmat and plot is used.
>
> For the first release gcplot won't be  able to cope with all the
> requirements of that lab. For now I think the reports of 'unsupported
> options and complexity' are acceptable. The eventual fix is to extend the
> capabilities of gcplot, not to revert to jgtk plot.
>
> On Sun, Jan 16, 2011 at 7:07 AM, David Mitchell<[email protected]>wrote:
>
>> I tried running this and ran afoul of viewmat and plot.
>>
>> I changed the first
>>
>> require 'plot graph'
>>
>> to
>>
>> require 'viewmat'
>>
>> I found this rather nice, as the viewmat output was now displayed in-line
>> in the
>> browser.
>>
>> But, non-viewmat plots were a thornier problem.
>>
>> Removing
>>
>> require'plot graph'
>>
>> invoked the new Google plot, which was fine for a few plots, but failed on
>> most
>> with errors like this:
>>
>> unsupported plot options: stick,line
>> unsupported data complexity
>>
>> Changing
>>
>> require'plot graph'
>>
>> to
>>
>> require 'plot'
>>
>> now got what looks like the new GTK plot.  This successfully displayed all
>> the
>> plots, but the plot window opened behind my browser window and I had to
>> hunt for
>> it.  Also, the plot window appeared before the text in the lab describing
>> the
>> plot.  Finally, the plot window had to be closed before I could continue
>> with
>> the lab.
>>
>> And, this would probably would not work well if the J lab browser were not
>> on
>> the same system as jhs.
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> 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