Remove '%' sign in pie chart

19 visualizaciones (últimos 30 días)
Jay Ghosh
Jay Ghosh el 25 de Jun. de 2014
Comentada: Ben11 el 25 de Jun. de 2014
This is probably a silly question. Can someone tell me that after I create a pie chart using the pie or pie3 command in MATLAB, how can I remove the % sign that comes with each chunk of the pie chart ?

Respuesta aceptada

Ben11
Ben11 el 25 de Jun. de 2014
Editada: Ben11 el 25 de Jun. de 2014
From what I saw on the help, I think you need to create a cell array containing the labels you want, that is without %
Their example:
x = 1:3;
labels = {'Taxes','Expenses','Profit'};
figure
pie(x,labels)
  2 comentarios
Jay Ghosh
Jay Ghosh el 25 de Jun. de 2014
Grazie Ben!
Ben11
Ben11 el 25 de Jun. de 2014
My pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Pie Charts en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by