Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can graph apply different linestyles to datasets fed from stdin?

1 view
Skip to first unread message

fearless_fool

unread,
Feb 7, 2012, 8:15:49 PM2/7/12
to
I think the answer is no, but feed two datasets to graph via stdin:
1 1
2 2
3 3

2 4
3 2
4 8

can I plot the first dataset with symbols and the second dataset with
connected lines? I've tried:

cat x.txt | graph -T gif -C -m 0 -S 4 - -m 3 - > x.gif ; open x.gif

but it appears that first '-m 0 -S 4' applies, and not the '-m 3'.
Yes, I can write the separate datasets to separate files, but I
already have the datasets in a single string.
0 new messages