bugGNU Octave - Bugs: bug #48198, With recent 4.1.0+ and gnuplot...

 
 

bug #48198: With recent 4.1.0+ and gnuplot backend all symbol or dot plots will also include a line.

Submitted by:  Dmitri A. Sergatskov <dasergatskov>
Submitted on:  Fri 10 Jun 2016 09:01:25 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Dmtri A. SergatskovOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 11 Jun 2016 07:50:05 AM UTC, comment #7:

Sorry about that folks. I misunderstood what "lt" represents. Near the end of June I will look at this issue again with regards to gnuplot 4.4. Also, I'm pretty sure that the "stuck lines" problem in which the characteristics of a line resembles that of a previous plot, e.g.:

demo polar
demo waterfall

is related to this. This hunk of code:

is assigned a line type to indeces, e.g.,

However, the difference betwen linetype and "style line" is that linetype is persistent. Those are not reset with the "reset" command. The way that Octave is using gnuplot, where it essential resets and then redefines all variables with a plot, might work better using just "style line" if possible. Maybe that would stay 4.4 compatible that way too. Again, I look at this in a couple weeks.

Dan Sebald <sebald>
Sat 11 Jun 2016 12:02:55 AM UTC, comment #6:

this is now fixed for me.
hg id = 09583900661b

Doug Stewart <dastew>
Fri 10 Jun 2016 10:31:42 PM UTC, comment #5:

I think it is not unreasonable to require gnuplot 5+ for
octave 4.1.+ (gnuplot 5.0.1 was released in july 2015).

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 10 Jun 2016 10:27:47 PM UTC, comment #4:

I reversed part of cset 21809 so that a line is not always drawn. See http://hg.savannah.gnu.org/hgweb/octave/rev/09583900661b.

Rik <rik5>
Project Administrator
Fri 10 Jun 2016 10:16:17 PM UTC, comment #3:

The cset that introduced this is 21809:b2f1f4cf1389.

Rik <rik5>
Project Administrator
Fri 10 Jun 2016 09:45:28 PM UTC, comment #2:

x = 2 * pi * rand (1, 200);
y = sin (x) + sin (2 * x) + 0.2 * randn (size (x));

scatter(x,y) does not work.
scatter(x,y,[]) does not work
scatter(x,y,[],[]) does not work
scatter(x,y,[],x) does work
scatter(x,y,[],y) does work
scatter (x, y, [], rand(200,1))
scatter (x, y, [], 1.25*ones(200,1))

x = randn (100, 1);
y = randn (100, 1);
scatter (x, y) works

Thomas Dean <tomdean>
Fri 10 Jun 2016 09:38:41 PM UTC, comment #1:

Confirmed. There has been a lot of work recently on the gnuplot backend. I'm sure this is a temporary hiccup. I'm adding Dan Sebald to the CC list since he probably knows why this is happening.

Rik <rik5>
Project Administrator
Fri 10 Jun 2016 09:01:25 PM UTC, original submission:

With recent 4.1.0+ and gnuplot backend all simbol or dot plots will
also include a line.
I.e. plot (x,y, ".") looks the same as plot (x,y,"-.")

graphics_toolkit gnuplot
x=y=linspace(1,10,10);
plot (x,y, "o")
plot (x,y, "-o")
plot (x,y, "o")
plot (x,y, ".")

This works fine with octave 4.0.2 (any backend) and with 4.1.0+
with GL backends.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by avinoam (Updated the item)
  • -unavailable- added by sebald (Posted a comment)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by tomdean (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by dasergatskov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Jul 2016 05:00:09 AM UTCavinoamSummaryWith recent 4.1.0+ and gnuplot backend all simbol or dot plots will also include a line. =>With recent 4.1.0+ and gnuplot backend all symbol or dot plots will also include a line.
    Fri 10 Jun 2016 10:27:47 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 10 Jun 2016 09:38:41 PM UTCrik5StatusNone=>Confirmed
      Carbon-Copy-=>Added sebald

    Back to the top


    Powered by Savane 3.1-cleanup1