Create 3D plot out of multiple xy plots

조회 수: 1(최근 30일)
Rick Verberne
Rick Verberne 2019년 1월 30일
편집: Walter Roberson 2019년 1월 30일
Dear all,
I'm yet again stuck in matlab. Currently I'm sitting on a bunch of X-Y plots, with x = distance and y = counts. However, this also varies in Z.
At the moment I have 45 plots each with respect to X-Y but for a different Z. The X value is exactly the same for all of the plots. Is there a way I can conveniently have matlab plot all these plots and connect them where the X values are the same?
Best,
Rick
  댓글 수: 3
Walter Roberson
Walter Roberson 2019년 1월 30일
편집: Walter Roberson 2019년 1월 30일
Each z corresponds to exactly one x, but each x corresponds to multiple z? The same number of z in each case ? Is length(z) an integer multiple of length(unique(x)) ? So that you could reorder the data into a grid, unique x on one side and the corresponding z on another? Would it be a regular grid?
Would it be practical to show us a scatter3() of the data ?

댓글을 달려면 로그인하십시오.

답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by