Dear Thomas,

thank you for your positive feedback! I'm glad to hear that you find 
pgfplots useful.

Concerning your question: quiver plots are fully compatible with table 
input; just use "\addplot[quiver={u=\thisrow{<colname>}}}" as source 
expression for u,v and w. I have added a corresponding example to the 
related manual section.

If you want something like "x index", consider using 
"\thisrowno{<index>}" instead of "\thisrow{<colname>}".

Your example image looks fine :) Did you consider using \addplot 
graphics for the background graphics?

Best regards

Christian

Am 20.12.2010 10:05, schrieb Thomas Gunst Smith:
>
> Dear Christian
>
> First of all I would like to express my gratitude for the feature-rich 
> pgfplots library for creating scientifically beautiful figures and 
> plots in Latex. We are a group of Ph.D.-students at the Technical 
> University of Denmark who now strive to use nothing but pgfplots (if 
> possible). I now stand before the challenge to draw quiver plots, 
> which I hope you can give a hint how-to J
>
> I have, and have read, the manual for the unstable version, but am not 
> sure how to produce a quiver plot from tabulated data in a file. For 
> example, can I load the data from a file with the format:
>
> x1 y1 u1 v1
>
> x2 y2 u2 v2
>
> x3 y3 u3 v3
>
> ….
>
> where (x,y) is the position of each vector, and (u,v) is the vector to 
> be plotted. I have used the pgfplotstable package before with “x 
> index”, but not sure if this can be used for quiver plots as well?
>
> The goal is to create a plot as attached (only better looking ;) The 
> colored background I have already plotted by a surface plot, so I just 
> have to create either a two or three dimensional quiver plot on top.
>
> Now the e-mail got long, but I guess that your answer to my question 
> is simple J Hope to hear from you soon.
>
> Best regards
>
> *Thomas Gunst Smith *
>
> PhD student
>
> DTU Electrical Engineering
>
> *Technical University of Denmark*
>
>       
>
> http://www.dtu.dk/images/DTU_email_logo_01.gif
>
> Department of Electrical Engineering
>
> Ørsteds Plads
>
> Building 348
>
> 2800 Kgs. Lyngby
>
> t...@elektro.dtu.dk <mailto:t...@elektro.dtu.dk>
>
> www.elektro.dtu.dk/ <http://www.elektro.dtu.dk/>
>


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to