🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.apps.gnuplot
1 messages
1 total messages Started by u600256@rho.lanl Fri, 16 Aug 1996 00:00
Re: Gnuplot 3.6 - chart background color
#3948
Author: u600256@rho.lanl
Date: Fri, 16 Aug 1996 00:00
38 lines
1126 bytes
In message-Id: <3213CC04.10D6@mol.net.my>
tjong <tjong@mol.net.my> writes:

> I am using gnuplot to plot line-chart by reading in a set of data. My
> settings are as following :
> set term pbm color
> set output "test.pbm"
> ......

> The background of the chart is always white and the line chart color is
> always red. Can I control the color ?



I don't know anything about changing the background color in PBM --
sorry.

But you can choose the color of the line chart.

First, use the command 'test'.  This displays a lot of stuff about your
terminal (x11, pbm, postscript...), including an array of line and point
styles.  Each style is accompanied by an index. number.

You can put the index numbers for the line and point style you want at
the end of the 'plot' command.  Thus

  plot f1(x) with lines 3, f2(x) with points 0 5

will plot f1 with a line of style 3 and f2 with points of style 5
(the '0' is a dummy value for the unused lines).

The styles are different for each terminal, so what you see on your
monitor isn't necessarily what you'll see on your hardcopy.

Dick Crawford, aka rccrawford@lanl.gov


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads