필터 지우기
필터 지우기

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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by