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: Thu, 20 Dec 2012 21:02:58 -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/20/2012 08:51 PM, Ben Abbott wrote:

On Dec 20, 2012, at 9:19 PM, Daniel J Sebald wrote:

[snip]
My gnuplot is

        gnuplot 4.6 patchlevel 1

Looking at sourceforge, I think this is the most recent version?  The manual for 4.6 
has the syntax below for 'set term qt ..."

set term qt {<n>}

                    {size<width>,<height>}
                    {{no}enhanced}
                    {font<font>}
                    {title "title"}
                    {{no}persist}
                    {{no}raise}
                    {{no}ctrl}
                    {close}
                    {widget<id>}

Even though there is no "dashed" mentioned, I do see dashed lines in the "test" 
plot.

I'm using development version 4.7 and see no "dashed" in the documentation either. I will investigate, thanks.


hmmm ... perhaps I the check that a term supports "dashed" should be
skipped?

Yes, I think the unconditioned command should be fine.


diff --git a/scripts/plot/__gnuplot_drawnow__.m 
b/scripts/plot/__gnuplot_drawnow__.m
--- a/scripts/plot/__gnuplot_drawnow__.m
+++ b/scripts/plot/__gnuplot_drawnow__.m
@@ -321,6 +321,7 @@
          endif
        endif
      endif
+    fprintf (plot_stream, "set termoption dashed\n")
    else
      ## gnuplot will pick up the GNUTERM environment variable itself
      ## so no need to set the terminal type if not also setting the

Unfortunately, when I use this change, I still don't get dashed lines from Octave when 
using the "qt" terminal.

OK. Maybe there is a variable overlooked because "qt" is a new terminal and it does require "--enable-qt" when configuring. I'll follow up with the gnuplot list. Thanks.


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


reply via email to

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