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

More docs on kw arguments #516

Open
KronosTheLate opened this issue May 3, 2023 · 2 comments
Open

More docs on kw arguments #516

KronosTheLate opened this issue May 3, 2023 · 2 comments

Comments

@KronosTheLate
Copy link

I was able to guess that passing the kwarg grid=false turned off the grid. But I am unable to guess the syntax to get fewer grid lines, thinner etc.

It would be AWESOME if the documentation (https://gr-framework.org/julia.html) had a section listing all supported keyword arguments.

@RoyiAvital
Copy link

This is really important.
I have no idea how to use the GR.jl functions' parameters.

(I came for the new interactive plot system, so I'm eager to try things.

@RoyiAvital
Copy link

For instance, I wanted to show a grayscale image using imshow().
Yet it mapped the pixels by the default colormap.

I could figure it out only by looking at https://github.com/jheinen/GR.jl/blob/master/examples/colormaps.jl and see that "grayscale" is mapped to 2.

Then I guessed the command imshow(mI, colormap = 2);.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants