bugGNU Octave - Bugs: bug #30872, gnuplot or octave problem with...

 
 

bug #30872: gnuplot or octave problem with semilogy?

Submitted by:  Marco Caliari <caliari>
Submitted on:  Wed 25 Aug 2010 08:47:50 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Marco CaliariOpen/Closed: Closed
Release: 3.3.51Operating 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)

Thu 02 Sep 2010 12:25:05 AM UTC, comment #6:

I pushed Marco's patch.

http://hg.savannah.gnu.org/hgweb/octave/rev/97294dd3ccd4

I'm closing this ticket.

Ben Abbott <bpabbott>
Project Member
Wed 01 Sep 2010 01:07:25 AM UTC, comment #5:

I've converted Marco's patch to a changeset and attached it.

(file #21367)

Ben Abbott <bpabbott>
Project Member
Wed 01 Sep 2010 01:03:59 AM UTC, comment #4:

opps! ... I should have double checked my work. I took a second look and found that Marco's patch does work.

Ben Abbott <bpabbott>
Project Member
Tue 31 Aug 2010 12:39:19 AM UTC, comment #3:

I tested Marco's patch. Unfortunately, it didn't work for me. I got the same behavior.

Ben Abbott <bpabbott>
Project Member
Thu 26 Aug 2010 07:58:44 AM UTC, comment #2:

Probably a better fix is the enclosed one.

Marco

(file #21312)

Marco Caliari <caliari>
Project Member
Wed 25 Aug 2010 02:10:23 PM UTC, comment #1:

I was able to fix the problem with the enclosed patch. Not sure it is the optimal solution, though.

Cheers,

Marco

(file #21305)

Marco Caliari <caliari>
Project Member
Wed 25 Aug 2010 08:47:50 AM UTC, original submission:

Dear all,

if I give

m = 20:27
semilogy (m, exp (-m.^2))

everithing is fine. But, with

m = 19:27
semilogy (m, exp (-m.^2))

I get

line 0: y range must be greater than 0 for log scale

Is it a gnuplot (I'm using 4.4.0) or octave problem?

Marco

Marco Caliari <caliari>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21367:  changeset.patch added by bpabbott (1KiB - application/octet-stream - Marco's patch as a Changeset)
file #21312:  graphics.cc.diff added by caliari (374B - text/x-patch)
file #21305:  graphics.cc.diff added by caliari (361B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by caliari (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Sep 2010 12:25:05 AM UTCbpabbottStatusNone=>Fixed
      Originator Name=>Marco Caliari
      Open/ClosedOpen=>Closed
    Wed 01 Sep 2010 01:07:25 AM UTCbpabbottAttached File-=>Added changeset.patch, #21367
    Thu 26 Aug 2010 07:58:44 AM UTCcaliariAttached File-=>Added graphics.cc.diff, #21312
    Wed 25 Aug 2010 02:10:23 PM UTCcaliariAttached File-=>Added graphics.cc.diff, #21305

    Back to the top


    Powered by Savane 3.1-cleanup1