How to automate plot function (axis grid, x-axis tick)?

1 回表示 (過去 30 日間)
Alan
Alan 2014 年 5 月 13 日
回答済み: Star Strider 2014 年 5 月 13 日
How can I modify the following code
scatter(cell2mat(Red_Phase_Max(i,7)),double(cell2mat(Red_Phase_Max(i,2)))./8192,40,'b','o','MarkerFaceColor','b');
so that I can automatically
1. turn on the grid (x-axis only) and the box around the plot 2. turn up the x-tick (with step of 1000) with minor tick as shown in the attached image

回答 (1 件)

Star Strider
Star Strider 2014 年 5 月 13 日
See the documentation on Axis Properties, get, and set. Experiment with the Axis Properties that look like they will do what you want.

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by