フィルターのクリア

Creating a 2D homogeneous plot of straight lines

2 ビュー (過去 30 日間)
Khushank Singhal
Khushank Singhal 2018 年 12 月 6 日
コメント済み: Rik 2018 年 12 月 6 日
I am trying to create a mesh (collection of straight intersecting lines) of given dimensions (a x a; a square mesh).
The fibers (straight lines) run from one edge to another. There is no pattern of distribuion of lines i.e, they are generated randomly. The problem I am facing is that the intersection points are not equally (more or less equally) spaced. There are regions in the mesh with clusters of intersection points and regions with few of them.
The sum of the lengths of all fibers is fixed.
I have tried a couple of ways to make the distribution homogeneous but have failed.
(in the eg (pic): the edge is divided into 11000 points; there are more points in the upper left sector of the mesh; also there are collections of intersection points close to each other, like one around (6000,3000))
Please suggest something. Thanks in advance.
  1 件のコメント
Rik
Rik 2018 年 12 月 6 日
What code did you use to generate this? It is likely much easier to adapt almost working code, than come up with new code.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by