bugGNU Octave - Bugs: bug #30878, plotyy, semilogy, and text objects

 
 

bug #30878: plotyy, semilogy, and text objects

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Thu 26 Aug 2010 03:41:25 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: bpabbottOpen/Closed: Closed
Release: devOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 26 Aug 2010 06:31:22 PM UTC, comment #1:

The problem is that the text object was being associated with gnuplot "first" coordinate system. I've attached a trivial changeset. I'll push it later today.

(file #21315)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Thu 26 Aug 2010 03:41:25 PM UTC, original submission:

The example below incorrectly places the text object on the second axes.

close all
backend gnuplot
x = 0:0.1:2*pi;
y1 = sin (x);
y2 = exp (x - 1);
ax = plotyy (x, y1, x - 1, y2, @plot, @semilogy)
ylabel ('Second Axes')
text(4, 100, 'Second Plot', 'color', [0 0.5 0]);
axes (ax(1))
ylabel ('First Axes')
text(2, .5, 'First Plot', 'color', [0 0 1]);

I get the correct result when using semilogy without plotyy.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21315:  changeset.patch added by bpabbott (1KiB - application/octet-stream - proposed changeset)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bpabbott (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 27 Aug 2010 12:24:32 AM UTCbpabbottStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 26 Aug 2010 06:31:33 PM UTCbpabbottAssigned toNone=>bpabbott
    Thu 26 Aug 2010 06:31:22 PM UTCbpabbottAttached File-=>Added changeset.patch, #21315

    Back to the top


    Powered by Savane 3.1-cleanup1