MATLAB: How to use plot3 for x,y,z, while plotting.. it shows nothing 3d plotsplot3 i have to use plot3 function to plot x,y,z x=[1]y=[2]z=[3]plot3(x,y,z) while i plot this , nothing appears on the plot.. how to plot this in 3d Best Answer plot3(x,y,z,'.r')As you have single data..you need to use a marker. Related SolutionsMATLAB: How to plot 2 surf plots in the same figure Use the hold (link) function.figure(1)surf(X,Y,Z1)hold onsurf(X,Y,Z2)hold offgrid on MATLAB: Point coordinates from different domains X = 1:0.5:10; Y = 0:0.2:25; Z = 0:0.1:4;[x, y, z] = ndgrid(X, Y, Z);pointsize = 15;scatter3(x(:), y(:), z(:), pointsize); Related QuestionHow to plot itHow to plot a graph of two different 2D plots with data set: plot 1 (x,z) and plot 2 (y,z) in One 3D plot showing (x,y,z)
Best Answer