MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Ernst Ulmann
on 6 Dec 2012

Hello,

I have problems concerning creation of contour plot. By this I mean, I have a txt file with 4 columns. Each row represents one vector. First two columns specify vector position (x and y coordinate) whereas next two stores velocity (so length of the vector in fact) value (horizontal and vertical component).

I am supposed to plot the data in contour form and so far, nothing seems to work. I tried functions contour, contourfm meshgrid, griddata etc. It should be mentioned, however, that I'm not an experienced MATLAB user, so probably I'm using these functions in a wrong manner.

I would appreciate your help.

*No products are associated with this question.*

## 1 Comment

## bym (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/55894#comment_115989

post a sample of your data