Repository navigation
Add color gradients to polygons in psxy - #8846
Conversation
|
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