This is a bit contrived but seems to do what you want
NB. data cribbed from plot demos data =: > 0.6 1.8 2.4 1.2 1.8;0.8 2.4 1.6 5.6 4.8 pd 'reset' pd 'type bar' pd 'title Grouped with 2 Y Axes' pd 'color blue,red' pd 'ycaption Y Caption' pd 1 0*"0 1 data pd 'y2axis' pd 'type bar' pd 'ycaption Y2 Caption' pd 0 1*"0 1 data pd 'show' Mike David Vincent-Jones wrote:
I am trying to plot with 'grouped bars' when the 2 sets of data have differing Y scales. Starting with the plot sample: pd 'reset' dat=: i:2.2j60 pd 'type bar' pd 'title Second Y Axis' pd 'color blue,red' pd 'ycaption Y Caption' pd ? 10#10 pd 'y2axis' pd 'type bar' pd 'ycaption Y2 Caption' pd ? 10#1000 pd 'show' This basically works but one bar sits on the other and is invisible. 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
