필터 지우기
필터 지우기

Is it possible to AUTOmatically assign a title right next to each curve in a multiple plot figure ?

조회 수: 1 (최근 30일)
Hi All
I have to plot in a for loop some lines that their initiation point start from different point like :
x= [0:1:10]
for b= 1 : 10
y= ax+b
plot (x,y)
end
I want to write beside each line to which b they belong , in practice in my own problem , the lines depend on another parameter that is not in the equation

채택된 답변

Adam
Adam 2015년 3월 29일
doc text
allows you to put text on axes. You have to position it yourself, but that should be easy enough since it will be relative to one of the points on your plot with a slight shift to put it next to the curve rather than on it.
I don't think I've ever used it myself, but that help page gives an example of usage. It also allows you to use various maths symbols and formatting.
  댓글 수: 2
farzad
farzad 2015년 3월 29일
thank you Adam for your response
well I was thinking that if MATLAB could do it , cause the curves were too many
farzad
farzad 2015년 3월 29일
it seems there is not such a thing in MATLAB but it could be a great help in such graphs for users

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by