フィルターのクリア

Can grid rotate?

4 ビュー (過去 30 日間)
zzzhhh
zzzhhh 2019 年 5 月 12 日
コメント済み: Walter Roberson 2021 年 2 月 26 日
For example, if I type
grid rotate 45
grid on
, a grid which rotates by 45 degrees will be shown. Can grid in Matlab rotate? Thanks.
  7 件のコメント
Bhanu Pratap Singh
Bhanu Pratap Singh 2021 年 2 月 26 日
@Walter Roberson Is there any way that the grid can be rotated? If not, whether MATLAB is planning to add that feature? Thanks.
Walter Roberson
Walter Roberson 2021 年 2 月 26 日
Bhanu: yes, grids can be rotated, for some definitions of rotated. I posted a number of clarification questions above that need to be answered in order to create an appropriate implementation.
Displaying a rotated grid somehow is not especially difficult. But is what is displayed in the axes to be rotated as well? Is data cursor / data tips to work on the old coordinates or the new ones? Are there any constraints such not being permitted to use a second axes for some reason? Is it ok to Re-parent objects if needed? Do you need to mix rotated coordinates and non-rotated? If there is existing text then should it rotate as well or does it need to appear horizontal / vertical?

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

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019 年 5 月 12 日
What is the purpose of rotating grids in your plot figure? Maybe you don't need to rotate grid but to rotate your plot data by 45?
  3 件のコメント
Bhanu Pratap Singh
Bhanu Pratap Singh 2021 年 2 月 26 日
編集済み: Bhanu Pratap Singh 2021 年 2 月 26 日
@Sulaymon Eshkabilov I have one purpose to rotate the grid. I have points on my plot which represent seismic shots and seismic receivers (needed for seismic data acquisition for finding crude oil or natural gas etc). I am plotting the northing and east of the shots and the receivers. Receivers are aligned in various parallel lines which are 45 degrees to the horizontal. I need to plot the midpoints of all shots and all receivers and count their numbers in each grid bin. But, the grid needs to be aligned to the receivers (or in other words all the bins are needed to be aligned with the receiver arrays and then the number of midpoints falling in each grid bin should be counted).
Walter Roberson
Walter Roberson 2021 年 2 月 26 日
But that involves rotation of coordinates for data analysis, not rotation for display, which is what this Question is about.

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

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by