octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46739] glLineStipple


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #46739] glLineStipple
Date: Tue, 29 Dec 2015 15:05:54 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

Follow-up Comment #1, bug #46739 (project octave):

With gnuplot v5 it is now possible to specify the "dashtype"

http://www.bersch.net/gnuplot-doc/set-show.html#set-dashtype

The dot/dash lengths are normalized to the line width. A length of "2" is
equal to the line width. The short example below approximates the behavior of
Matlab.


# equivalent to ML '-'
set dashtype 1 solid
# equivalent to ML ':'
set dashtype 2 (2,6)
# equivalent to ML '-.'
set dashtype 3 (16,8,2,8)
# equivalent to ML '--'
set dashtype 4 (16,16)


Perhaps, it would be useful to extend the "linestyle" property to support such
an (dash1, gap1, dash2, gap2, ...) syntax and to modify the OpenGL toolkits to
support the syntax present in gnuplot v5.

I'm attaching a gnuplot demo script.

(file #35888)
    _______________________________________________________

Additional Item Attachment:

File name: linetypes.gp                   Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46739>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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