Sean O'Bryne wrote:
I am trying to plot three sets of data using the 'stick' plot option. It plots the three graphs, but in a single colour, which makes it difficult to see the differences between plots. Can someone please help me to get the tree sets of impulse plots to plot in three different colours, as per the default line plot?

eg

'stick' plot 1 2 3; 1 2 3, 2 1 6 ,: 3 0 9

Your command overlays the 'sticks' on the x locations (1,2,3

If you need 'sticks' try using the pd commands

pd 'reset'
pd 'type stick'
pd 'color blue'
pd 'pensize 4'
pd (1 2 3-0.05);1 2 3
pd 'color red'
pd  1 2 3;2 1 6
pd 'color aqua'
pd (1 2 3 +0.05);3 0 9
pd 'show'

Would the barchart capability provide all you need?
I am using Windows, but it should be fine in Linux.

Fraser


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

Reply via email to