octave-maintainers
[Top][All Lists]
Advanced

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

Re: gnuplot and dashed lines


From: Ben Abbott
Subject: Re: gnuplot and dashed lines
Date: Fri, 21 Dec 2012 09:11:55 -0500

On Dec 21, 2012, at 1: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.)
> 
> Given that, the "test" pattern in gnuplot should look reasonable. Octave line 
> patterns come out reasonable as well.

I added a section to the wiki.

        
http://wiki.octave.org/Enable_%22linestyle%22_functionality_for_Gnuplot%27s_x11_terminal

Ben




reply via email to

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