Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for the different seriestypes #466

Closed
dlfivefifty opened this issue Sep 1, 2016 · 10 comments
Closed

Add documentation for the different seriestypes #466

dlfivefifty opened this issue Sep 1, 2016 · 10 comments

Comments

@dlfivefifty
Copy link
Contributor

I couldn't figure out how to use quiver, and it doesn't seem to be in the docs.

@tbreloff
Copy link
Member

tbreloff commented Sep 6, 2016

Here's a usage: #262

In short, the quiver seriestype expects you to pass in velocity vectors using the quiver attribute (with aliases: add_aliases(:quiver, :velocity, :quiver2d, :gradient)

You could pass in a 2-tuple (u,v) for vectors u/v, or you could pass in a vector of 2-tuples for each point. Final form:

quiver(x, y, quiver = (u, v))

@dlfivefifty
Copy link
Contributor Author

Would it be possible to add a page to the docs with examples for every linetype, and a plot of the output? Whenever I need something its a bit of a hide-and-go-seek game to figure out the name of the linetype (I don't remember how I figured out quiver) and the usage.

I'm more than happy to help by making a template that has the cases I already know.

@tbreloff
Copy link
Member

tbreloff commented Sep 7, 2016

Yes this is one of the last things from the documentation meta-issue. I
just haven't gotten to it yet. Any help is appreciated!

On Wednesday, September 7, 2016, Sheehan Olver notifications@github.com
wrote:

Would it be possible to add a page to the docs with examples for every
linetype, and a plot of the output? Whenever I need something its a bit
of a hide-and-go-seek game to figure out the name of the linetype (I don't
remember how I figured out quiver) and the usage.

I'm more than happy to help by making a template that has the cases I
already know.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#466 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA492nCcXW4U570TX8k4-sH3oQLuoWrIks5qnjtkgaJpZM4JyL5R
.

@dpsanders
Copy link
Contributor

Could there be an alias vector_field for quiver?
I find the name quiver confusing and un-discoverable, especially for non-native speakers.

@dpsanders
Copy link
Contributor

cf #760

@juliohm
Copy link

juliohm commented May 10, 2017

Does quiver works with 3D vectors? I am trying to naively call quiver(x,y,z, quiver=(u,v,w)), but it doesn't work. Documentation would be helpful.

@mkborregaard
Copy link
Member

Agreed

@mkborregaard
Copy link
Member

mkborregaard commented May 10, 2017

It is not just quiver - there is no general documentation for the different seriestypes. I would say opening a seriestypes tab on the plotdocs with pages for each category of seriestypes ("histogram-like", "scatter-like") is a high priority for documentation. All it requires is for someone to take the time to write them.

@mkborregaard mkborregaard changed the title Add documentation for quiver Add documentation for the different seriestypes Nov 6, 2017
@ChasingZenith
Copy link

It is a little bit surprised to me that this issue have not been alleviated since 2016.

I am confused about why quiver is an function like plot but only appear in Series attribute. I can’t find any clue in the documentation.

An example can tell a thousand words. To make some progress,I suggest that it will be better if
an example illustrating the usage of quiver and some useful associated attribute like aspect_ratio=:equal in Example section and so on.

BTW,
In fact, I searched the documentation for an entire night and I couldn’t find a figure or a description about how to draw a vector.

I search with keyword “vector”, “vector field”, “arrow” since I did’t even know the word quiver beforehand.

Not until I gave up and google it, I thought that Plots.jl does not support this feature.

@t-bltg
Copy link
Member

t-bltg commented Nov 27, 2022

Fixed.

@t-bltg t-bltg closed this as completed Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants