Clear Filters
Clear Filters

extracting 2-d plot from 3d plot

2 views (last 30 days)
Mike Lee
Mike Lee on 22 Mar 2017
Commented: Star Strider on 23 Mar 2017
Hi,
I have x,y,z plot by using scatter3 function. I would like to see a 2-d plot such as x vs z or y vs z. What is the function that I can use to this?
Thanks

Answers (1)

Star Strider
Star Strider on 22 Mar 2017
The view function could be what you want.
  8 Comments
Star Strider
Star Strider on 23 Mar 2017
I don’t understand your data or what you want from it.
The idea of subtracting 60 is to create a zero-crossing, since you want the values at 60. Those are much easier to calculate.
Star Strider
Star Strider on 23 Mar 2017
It will help significantly if you save your data to a ‘.mat’ file and attach it here. (Use the ‘paperclip’ icon to attach it.)
Also, post (or attach as a ‘.m’ file) the code that you used to load your data and create that plot.
I need your data and code to understand what you are doing. Without that information, I can only guess what you are doing and suggest approaches to solve your problem.

Sign in to comment.

Categories

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

Community Treasure Hunt

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

Start Hunting!