フィルターのクリア

labelling figures

2 ビュー (過去 30 日間)
Richard
Richard 2012 年 3 月 20 日
Say that I have 3 subplots and I want to label the first subplot as (a) the second as (b) and the third as (c). I want the label to be in the NorthWest corner. Is this possible without using the text command and having to manually insert the text yourself.
  2 件のコメント
Daniel Shub
Daniel Shub 2012 年 3 月 20 日
Why don't you want to use the text command?
Richard
Richard 2012 年 3 月 20 日
I have a rather large dataset which I will be generating a few figures where the axis will vary, therefore I will have to manually change the values defining the location of the text. So, I was hoping for a command that would do this!

サインインしてコメントする。

回答 (1 件)

Rick Rosson
Rick Rosson 2012 年 3 月 21 日
You can easily automate the location of the text by using the get function to find out the x- and y- limits of the axes, and then using this information to specify the location and extent of the text.
Alternatively, you can change the units of measure that are used to locate the text to normalized, and then specify the location in the upper right corner.
HTH.
Rick

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by