[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by somb
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out |
Date: |
Mon, 20 May 2013 00:37:56 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31 |
Update of bug #37290 (project octave):
Status: None => Works For Me
_______________________________________________________
Follow-up Comment #34:
John,
Regarding the "demo plotyy" + "sombrero" problem, the cause is the "hold on"
statement in the fourth demo.
%!demo
%! clf
%! hold on
%! t = (0:0.1:9);
%! x = sin (t);
%! y = 5 * cos (t);
%! [hax, h1, h2] = plotyy (t, x, t, y);
%! [~, h3, h4] = plotyy (t+1, x, t+1, y);
%! set ([h3, h4], "linestyle", "--")
%! xlabel (hax(1), 'xlabel')
%! title (hax(2), 'title')
%! ylabel (hax(1), 'Left axis is Blue')
%! ylabel (hax(2), 'Right axis is Green')
I tried the example below on both Matlab R2013a and Octave.
x = 0:0.01:10;
plotyy (x, cos (x), x, sin(x))
hold on
peaks
There are some minor differences in axes scaling, but it appears to me that
Octave is working correctly. I've attached the plots I get from Matlab and
Octave.
Have I missed something?
Ben
(file #28113, file #28114)
_______________________________________________________
Additional Item Attachment:
File name: matlab.png Size:10 KB
File name: octave.png Size:26 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37290>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, (continued)
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, John W. Eaton, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, John W. Eaton, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Ben Abbott, 2013/05/16
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/17
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/19
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Ben Abbott, 2013/05/19
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out,
Ben Abbott <=
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/20
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Ben Abbott, 2013/05/20
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Dan Sebald, 2013/05/20
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Ben Abbott, 2013/05/20
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, John W. Eaton, 2013/05/21
- [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out, Ben Abbott, 2013/05/21