octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnuplot and dashed lines


From: Daniel J Sebald
Subject: Re: gnuplot and dashed lines
Date: Fri, 21 Dec 2012 04:22:45 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 12/21/2012 12:39 AM, Daniel J Sebald wrote:
On 12/20/2012 09:02 PM, Daniel J Sebald wrote:
On 12/20/2012 08:51 PM, Ben Abbott wrote:

[snip]
Also, I looked at the "test" plots for x11. I don't see any dashed
lines there.

I sent the list a note and I've isolated the dates for which the X11
terminal test is failing.

Dan

I've figured out how to activate the X11 dashed lines, which I'll
explain. How to set this up for users when they install could be
challenging.

gnuplot utilizes the standard X11 defined settings interface. This is
explained in gnuplot under

gnuplot> help set term x11 line_resources

Basically, one puts the definitions for the dash patterns inside a local
.Xdefaults file. For example

! gnuplot settings
gnuplot*dashed: on
gnuplot*borderDashes: 0
gnuplot*axisDashes: 16
gnuplot*line1Dashes: 0
gnuplot*line2Dashes: 42
gnuplot*line3Dashes: 13
gnuplot*line4Dashes: 44
gnuplot*line5Dashes: 15
gnuplot*line6Dashes: 4441
gnuplot*line7Dashes: 42
gnuplot*line8Dashes: 13

and then at the shell command line type

shell> xrdb -merge .Xdefaults

I've put the above command in my shell script resource file. (Try xrdb
-query if you run into problems.)

One doesn't even have to do that much. On my system .Xresources is the file name, not .Xdefaults, and no xrdb command is needed. The .Xresources file is queried every time a new session is started (log out, log back in).

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]