how to solve stem problem?

Hi,

I would like to make a stem diagram where drop lines are horizontal and not vertical. Even better would be if ML is able to plot horizontal vectors from a baseline of y-axis.

Actually what I’m trying to plot is velocity profile in pipe.

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

I suggest you to use quiver function:

y = 0:10;
u = 25-(y-5).^2;
quiver(0*y,y,u,0*u)

Of course you can do it with stem function:

x = 0:10;
y = 25-(x-5).^2;
stem(x,y)
view(90,90)

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.