|
From: | Fernando Cerda |
Subject: | Error to put a title on my pie chart |
Date: | Sat, 14 Mar 2020 08:13:34 +0000 |
Dear all,
I am using Octave 5.2.
I tried to create a pied chart from health data. This is the command for the plotting:
figure 1
pie ([sum(B(:,4)), sum(B(:,5)), (sum(B(:,8))-sum(B(:,6)))], [0, 0, 1]);
colormap ([1,0,0;0,1,0;0,0,1;1,1,0;1,0,1;0,1,1]);
labels = {'No de Mulheres','No Voluntarios','No Beneficiados'};
legend(labels,'Location','southoutside','Orientation','horizontal')
title('1 Número total de pessoas envolvidas no distrito')
This is the error
error: title(195): out of bound 28 (note: variable 'title' shadows function)
once you get the error, you cannot use the command "title" anymore. You have to exit Octave and load it again.
I would greatly appreciate if you can help me to fix the error,
Thanks in advance,
Fernando
|
[Prev in Thread] | Current Thread | [Next in Thread] |