I'm trying to create graphics for a presentation involving many inequalities. Several charts define x<=max and x>=min. I've been using area(...) for all other ordinary inequalities, ax+by<=c y~=0. Before I write a custom patch function to handle this case, I thought I'd ask where this "Horizontal" property is supposed to be located.
  • BaseLine — Baseline, This property is read-only. Baseline object. For a list of baseline properties, see Baseline Properties .
  • BaseValue — Baseline value, Baseline value, specified as a numeric scalar value. The baseline value that you specify applies to either the x-axis or the y-axis depending on the bar chart orientation. If you change the orientation of the bar chart from vertical to horizontal, or vice versa, the baseline value might change. Set the BaseValue property after setting the Horizontal property.
The Horizintal property is no where to be found in the area object or the baseline parameter. I see horizontal when creating a bar object, though.
MATLAB Version: 9.1.0.441655 (R2016b)

댓글 수: 3

dpb
dpb 2017년 6월 7일
Not implemented, but seems like reasonable enhancement request.
Did you check File Exchange to see if somebody else has already done it, perchance?
Thanks for the reply. I figured it wasn't implemented.
I had checked combinations of "plot," "area," "horizontal," and "y-axis," but didn't see anything that looked like what I needed.
A quick-n-dirty patch function won't take long to generalize (I've been making them by hand thus far).
dpb
dpb 2017년 6월 8일
I did no more than just checking to see that area is, indeed, an m-file; you might look at it a little more and see if it would be be relatively painless to add the functionality to it.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

제품

태그

질문:

2017년 6월 7일

댓글:

dpb
2017년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by