pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

RFE: Add `every quiver plot` style key #275

Open pgf-tikz-bot opened 10 years ago

pgf-tikz-bot commented 10 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/41/ Author: leingang Timestamp: 2014-11-20 14:37:19.916000

It seems like there's a use case for an every quiver plot style key that can be set when many quiver plots are needed with common options (e.g., scale arrows).

I posted a question to the TeX StackExchange about it and came up with a working implementation.

\pgfplotsset{
    every quiver plot/.style={},
    quiver/.prefix code={\pgfqkeys{/pgfplots/quiver}{/pgfplots/every quiver plot}}
}

If that's suitable it can just be patched into pgfplotsplothandlers.code.tex.

pgf-tikz-bot commented 9 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/41/#7d4a Author: cfeuersaenger Timestamp: 2015-01-21 20:03:02.182000

Directly when I read you request, I tried out the suggested fix and stumbled over some key evaluation issue: I found some keys with prefix /pgfplots which sound useful in that context, but which would not be evaluated correctly. At that time, I decided to look into it eventually - and now I have to realize that I did not look into it until now :-(

I fear a general implementation might easily suffer from key path issues although I have to dig out why I came to that conclusion.

Sorry for answering that late.

I will come back to it eventually.

pgf-tikz-bot commented 9 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/41/#dc67 Author: leingang Timestamp: 2015-01-21 20:10:23.015000

Thanks for looking into that. I guess the devil is in the details which is why I'm happy you're the developer and I'm not.

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/feature-requests/41/#9c89 Author: cfeuersaenger Timestamp: 2017-03-25 06:40:02.924000