help-octave
[Top][All Lists]
Advanced

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

categorical bar graph


From: Raag Saluja
Subject: categorical bar graph
Date: Mon, 28 Oct 2019 08:01:58 +0530

Hi! I have to make a bar graph and I want to change the x values to names. I tried the Matlab tutorial as I couldn't find that in octave:

x = categorical ({'small', 'medium', 'large', 'extra large')};
x= reordercats (x, {'small', 'medium', 'large', 'extralarge');
y = [5 20 77 19]
bar(x,y)

However, I got an error message. PFA the screenshot. Can you please help? 

Thank you and regards,

Raag Saluja
Research Scholar
Department of Zoology
Faculty of Science
Dayalbagh Educational Institute
Dayalbagh
Agra
INDIA

Attachment: Screenshot 2019-10-28 at 7.57.16 AM.png
Description: PNG image


reply via email to

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