Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

using sage functions with data from octave

Hello, I´m trying to construct a histogram using octave within sage, but I don´t know how to use sage functions with data that comes from octave, here´s what I´m doing:

a = octave.normrnd(50,3,100,1) #this generates a column vector with normal random data b = octave.hist(a) #this generates a histogram from the previous data

bar_chart(b) # this is where I get the following error:

NotImplementedError: Unable to parse output

Is this something that has not been implemented as the message suggests or am I doing something wrong?

click to hide/show revision 2
None

using sage functions with data from octave

Hello, I´m trying to construct a histogram using octave within sage, but I don´t know how to use sage functions with data that comes from octave, here´s what I´m doing:

a = octave.normrnd(50,3,100,1) #this generates a column vector with normal random data
b = octave.hist(a) #this generates a histogram from the previous data

data

bar_chart(b) # this is where I get the following error:

error:

NotImplementedError: Unable to parse output

output

Is this something that has not been implemented as the message suggests or am I doing something wrong?