Superimpose quiver vector plot on top of a plot
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello Everyone, I have a query here! I have a plot of a 3-D geometry and a quiver plot. I want to superimpose the quiver plot on top of this 3-D geometry. The geoplot(3-D geometry) is a 3D plot and I have used view([0 0]) (y-z view) to set the default view as I want the quiver command to plot vectors in this view. Quiver plots vector fields for 5 co-ordinates. These 5 co-ordinates represent the outer 5 circle's centre point in the geoplot. I want quiver to plot the vector in these circles. But, when I run the script, I can see quiver plot, only as a line. I know there is some sort of a dimension mismatch between the 'geoplot' and quiver plot. How to fix this? I am attaching a picture of geoplot, the function geoplot, my workspace variables with this query and a .stl file. Please unzip the file in your folder! The script which I am using is as follows:
hFig = figure;
set(hFig, 'Position', [0 0 1000 1000]);
geoplot('gehause_Bmuster');
view([0 0]);
hold on;
for e = 1:length(range);
q = quiver(z,y, mag_Z(100,:)'.*cos(Ph_Z(100,:)'+range(e)), mag_Y(100,:)'.*cos(Ph_Y(100,:)'+range(e)),0,'LineWidth',2);
axis([-100 150 20 200]);
M(e) = getframe;
end
movie(M,10,35);
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Geographic Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!