Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

not getting the correct graph

조회 수: 3 (최근 30일)
suchismita
suchismita 2011년 6월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
hello sir,i m trying to do some coding.and i have written the code for plotting the graph like below: suppose
L=45.8471
the code i ve written is
ylabel('life');
title('maximum');hold on;grid on;
bar(L);
my problem is i am getting such a graph whose y axis value is correct but in x axis instead of coming in a bar form it is coming in a expanded version i mean covering the whole area.i want it in a particular instant .plzz help..is there any method to represent it in percentage form in y-axis.??plzz help sir.
expecting a favorable reply.
suchismita

답변 (1개)

Paulo Silva
Paulo Silva 2011년 6월 20일
Have you tried Walter suggestion bar(G ./ sum(G) .* 100)
  댓글 수: 1
suchismita
suchismita 2011년 6월 21일
yes sir.i tried this.but the graph is coming something like,its covered the whole area.i mean i m getting such an blue color image covering the total x-axis & y-axis.if u dont mind sir plz give me ur mail id i will send u the image i m getting as i cant attach the image here.plzz help .expecting a favorable reply.
thanking u Suchismita

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by