COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

quiver in Matlab

• Email
• Follow

```Hi all,

I am now using the quiver to generate a vector plot in Matlab.
The plot come out nicely except for the plotting position.

Let say for a vector on point (x,y), it will plot the tail of the vector on the point(x,y)
I have did some search in the help and google , but I still don't know how to plot the vector such that the center of the arrow or the head of the arrow lies on the point(x,y)
How could I do that?

Many Thanks.
```
 0

See related articles to this posting

0 Replies
713 Views

Similar Articles

12/22/2013 3:55:20 AM
page loaded in 4486 ms. (0)

Similar Artilces:

surfer matlab vector quiver
Hi, I would like to export a figure I created using quiver(x,y,u,v,0) to surfer. My problem is how to export the vectors too, not only the grid (x,y). Can someone give a hint? Cheers, nicolas ...

Quiver and QuiverM give vectors pointing in opposite direction! any explanation? (matlab 6.5)
Hello All, I have a list of data in the following format: Longitude, Latitude, Water Velocity in x-direction (u), Water Velocity in y-direction (v) quiver(longitude,latitude,u,v) gives me a nice plot of vectors like I would expect with longitude on the x-axis, and latitude on the y axis - exactly what I'd like. however, when I want to plot this on top of a map, I make my map figure with worldmap, and this works fine. however, when I have to use quiverM to plot my vectors on the map, this quiverm command wants the latitude specified before the longitude, so I type this: quiverm(latitud...

matlab in JAVA or java in MATLAB?
Hi guys I am now experencing a great difficulty in the interation between java and matlab. I have an objective function written in JAVA with has method return an numerical number, i call it 'profit'. The nature of this obtive function (ObjFun.java) is that it takes an parameter input, say C, with different C value, the returned profit value is different. Eventually I want to find the optimized C value which produce the maximun profit (C will be under constrains). Initially I want to use linprog or fminsearch in matlab. So I tried the command in matlab that excutes my ObjFun.ja...

Calling Compiled MATLAB from MATLAB
Hello everyone, How do I compile MATLAB M files into a form that can then be called from within the MATLAB interpreter? A roundabout way would seem to be to (somehow) Turn the matlab code into C (I think mcc does this), then compile this C code into MEX format and call that. Is there an easier way? I have the MATLAB compiler, so I just need to know what to do with it to get this to work. Thanks in advance, Sina sina.tootoonian wrote: > > > Hello everyone, > > How do I compile MATLAB M files into a form that can then be called > from within the MATLAB interpreter? A round...

DLL creating by Matlab for Matlab
I would like to know if it is possible to convert several M-files into one DLL with Matlab (by using mcc or mex or other functions) and use this DLL with Matlab. How can I do that? I could create DLL with mcc -l xxx.m but I can't use this DLL with Matlab (error: "??? The function, script or class xxx cannot be indexed using {} or . indexing.") I have a project on Matlab with just M-files and I want to give this project to someone who want to use it on Matlab too, but I don't want to give him the source M algorithms. Moreover, I don't want to have an executable....

matlab
using MATLAB to to convert time domain data to frequncy tomain in side labview Hello Mans, Could you provide a bit more detail about the problems you are getting with converting time domain data to frequency domain data in LabVIEW. There are many different analysis and transform vi's within LabVIEW which you could use. Depending on what your trying to do, you may need to install the Math Interface Toolkit which allows you to communicate to MATLAB from LabVIEW. I don't know if you currently have this installed but if you don't, please find the link to the page on our website belo...

can Matlab support 32-bit matlab version scripts on 64-bit version of matlab
can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? please do answer this question thank u "Gangamma " <gangvsng@gmail.com> wrote in message <hvmr7h\$sn0\$1@fred.mathworks.com>... > can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? Yes, Matlab program written in 32/64 bits are compatible accepted MEX file. 64-bit version can handle larger array but does *NOT* improve speed. Br...

can Matlab support 32-bit matlab version scripts on 64-bit version of matlab #2
can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? please do answer this question thank u ...

embedded matlab function MATLAB R2009a
I downloaded the MS visual C++ 2008 Express Edition and the SDK as detailed in http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L My embedded function didnt work at the beginning because I did "mex -setup" before I installed my SDK. But after I installed the SDK, I ran "mex -setup" in Matlab once again and choose the MS visual C++2008 as my compiler. Then, my embedded matlab function worked. Thanks to the contribution from above! ...

Matlab comiler and simple matlab function
I am trying to create an exe from a matlab function which doubles the number you give it. matlab function: test.m function [output] = test (number) %return double the input number output = 2*number; disp(output); run matlab compiler at command line with: mcc -mv test.m with the resulting exe: test.exe However when I run it at DOS prompt: test 1 I am returned a value of 98. I thought that maybe this was some octal description of the output, but 98 oct is not 2 decimal. Some other results it returned: C:\Documents and Settings\alex\Desktop\lighttrans\Frank Work \test...