question about arranging 2d graphs with multiple trends each along the z axis in a 3d graph

3 views (last 30 days)
Hello everyone, I have data that is easily displayed in a graph with 5 trends. I have many of these graphs, and was wondering if there was a way to arrange these multiple-trend 2d line graphs along the z-axis of a 3d graph (in my description, x: out of the page, y: vertical, z: horizontal). All would share the same x and y axes as in a 2d graph. It would be a more efficient way to display the information. I have worked up a jpg of what I am looking to do using photo editing. To be simple, lets say I have a vector of values a and b that both need to be plotted vs. vector rho at z=0, and c and d that need to be plotted vs vector rho at z=1. It would be similar to plotting two surfaces on one 3d graph, but I need some help getting from that code to what I would do. Thanks!!!

Answers (1)

Star Strider
Star Strider on 23 Jul 2014
The closest example I can think of would be the ribbon plot. There may be some File Exchange contributions that could come closer.
  2 Comments
John Floyd
John Floyd on 23 Jul 2014
thanks for the idea. I like the thicknesses. I tried to do use this type of thing by passing a 2-row matrix to the plotting function for each trend, but it wasn't having it. I wish I could print multiple ribbon plots on the same graph. I will check the file exchange.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!