set term x11 dash

View: New views
4 Messages — Rating Filter:   Alert me  

set term x11 dash

by Petr Mikulik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems x11 supports the "dash" option, but ignores this.
Is the dash line functionality not implemented?

Could wxt add also this option (at least as a dummy one; with a
compatibility with postscript would be very welcome)?

---
PM

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: set term x11 dash

by Ethan Merritt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 05 June 2009, Petr Mikulik wrote:
> It seems x11 supports the "dash" option, but ignores this.
> Is the dash line functionality not implemented?

It is implemented and fully functional.
It just happens to look terrible on the screen, so the default
settings don't use it :-)

The definition of dash types is controlled by Xresources.
See the file Gnuplot.app-defaults for full information.

> Could wxt add also this option?

Almost certainly.  The pdfcairo terminal support "dashed", so the
support must be there in the underlying cairo library.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

unified dashes

by Petr Mikulik :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > It seems x11 supports the "dash" option, but ignores this.
> > Is the dash line functionality not implemented?
>
> It is implemented and fully functional.
> It just happens to look terrible on the screen, so the default
> settings don't use it :-)
>
> The definition of dash types is controlled by Xresources.
> See the file Gnuplot.app-defaults for full information.

In my $HOME/.Xdefaults, I have no dash option (compared to
Gnuplot.app-defaults). Therefore I expect that running

        gnuplot -dashed

would use the default dashed pattern sequence, it does not seem so.

It works after
        xrdb -merge Gnuplot.app-defaults
        gnuplot -dashed

Could these defaults work also without putting the new stuff into xrdb?

> > Could wxt add also this option?
>
> Almost certainly.  The pdfcairo terminal support "dashed", so the
> support must be there in the underlying cairo library.

Comparing the dashed output of x11, wxt, postscript, pdfcairo and pngcairo
for "dashcolor.dem", the pattern is not consistent -- dash length are
different, in some terminals there is "-." and in some "-..". It would be
great if the sequence is consistent, for example:

- (solid), -- (dashed), .. (dotted?), -. (dashdot), --. (dashdashdot),
-.. (dashdotdot) etc.

I propose that the dash stuff to be removed from config's (of x11, for
example) and replace it by user-defined values?

plot sin(x) with line dashtype "-.." {dl NNN | dd NNN}

I'm not sure how "dashlength|dl" works ... maybe "dashdensity|dd" option
could be used to increase/decrese dash density?

---
PM

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

Re: unified dashes

by Ethan Merritt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 17 June 2009, Petr Mikulik wrote:

> > > It seems x11 supports the "dash" option, but ignores this.
> > > Is the dash line functionality not implemented?
> >
> > It is implemented and fully functional.
> > It just happens to look terrible on the screen, so the default
> > settings don't use it :-)
> >
> > The definition of dash types is controlled by Xresources.
> > See the file Gnuplot.app-defaults for full information.
>
> In my $HOME/.Xdefaults, I have no dash option (compared to
> Gnuplot.app-defaults). Therefore I expect that running
>
> gnuplot -dashed
>
> would use the default dashed pattern sequence, it does not seem so.
>
> It works after
> xrdb -merge Gnuplot.app-defaults
> gnuplot -dashed
>
> Could these defaults work also without putting the new stuff into xrdb?

You don't like configuration files?

> > > Could wxt add also this option?

Added to CVS a few days ago.

> Comparing the dashed output of x11, wxt, postscript, pdfcairo and pngcairo
> for "dashcolor.dem", the pattern is not consistent -- dash length are
> different, in some terminals there is "-." and in some "-..". It would be
> great if the sequence is consistent, for example:
>
> - (solid), -- (dashed), .. (dotted?), -. (dashdot), --. (dashdashdot),
> -.. (dashdotdot) etc.
>
> I propose that the dash stuff to be removed from config's (of x11, for
> example) and replace it by user-defined values?
>
> plot sin(x) with line dashtype "-.." {dl NNN | dd NNN}

There have been past discussions about this.
I think the best approach suggested so far is to add "dashtype" as a
property in struct lp_style_type, and track it as a regular line
property along with line width, line color, point type, point style, and so on.

> I'm not sure how "dashlength|dl" works ... maybe "dashdensity|dd" option
> could be used to increase/decrese dash density?

Most terminals specify dash pattern by an array of lengths; successive
array elements control the length of the first line segment, the length of
the first gap, the length of the second line segment, the length of the
second gap, and so on.  "dashlength" is applied as a multiplier for these
lengths.  

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta