-
Notifications
You must be signed in to change notification settings - Fork 401
Add color gradients to polygons in psxy #8846
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
base: master
Are you sure you want to change the base?
Conversation
Esteban82
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
It should accept all forms of specifying colors that we already have. The test. The problem is that the images are too small. (5 cm each) |
Fix issues with consequences in the BoundingBox determination and hence to the raster conversions.
|
Now works in |
Yes, that's true. But the rst files only mention using RGB, colornames, and CPT. I tried the H-S-V and C/M/Y/K formats and they worked. However, for the grayscale format, an error occurs. It does not interpret them as grayscale but as values to use with a CPT. |
|
Yes, grays with a single value are not possible for the reason you found. This was a particular pain point when implementing the schema that guesses the file format and thus allows to do all with a single option (the +g) and not having to provide modifiers for each format.
It mentions
|

Again with Claude assistance I was able to create another of the old wishes for coloring polygons. With the new -G+g option we can now created color gradients in polygons. So far only in
psxy(it was a hell of a work for this one alone). Added agradients.shtest but I'm unable to run it since something completely broke by ability to run bash shells on Windows.An example