octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31939] Problems using bar() and subplot()


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31939] Problems using bar() and subplot()
Date: Mon, 20 Dec 2010 23:03:06 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.231 Safari/534.10

Follow-up Comment #2, bug #31939 (project octave):

Your explanation isn't clear for me, so I've ventured a guess. Let me know if
I've inferred incorrectly.

Since your example is incomplete, I've constructed my own.


y = randn (1, 100);
x = 10;
subplot (2, 1, 1)
thishist = hist (y, x);
subplot (2, 1, 2)
thisbar = bar (thishist);


This produces the plot I've attached. The 1st subplot is empty. The 2nd
subplot represents a histogram with a gaussian shape.

This works for me using the developer's sources with gnuplot 4.4.0, as well
as 4.2.6.

I assume you do not get this result?

You said you were running gnuplot 4.2. Any chance it is earlier than 4.2.6?
You can check from Octave by typing "__gnuplot_version__".

 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31939>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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