Skip to content

Handle colors for mesh3d in pgfplotsx backend#5214

Merged
BeastyBlacksmith merged 3 commits intoJuliaPlots:masterfrom
darnstrom:mesh3d-pgfplotsx
Jan 8, 2026
Merged

Handle colors for mesh3d in pgfplotsx backend#5214
BeastyBlacksmith merged 3 commits intoJuliaPlots:masterfrom
darnstrom:mesh3d-pgfplotsx

Conversation

@darnstrom
Copy link
Contributor

Description

This PR adds support for colors in mesh3d in the pgfplotsx backend.
The example in #5213 now correctly creates a blue triangle (similar to the GR and PlotlyJS backend.)
I have also tested it with several calls to mesh3d, and the result is the same as for GR and PlotlyJS.

Attribution

  • I am listed in the appropriate version of .zenodo.json

Things to consider

  • Does it work on log scales?
  • Does it work in layouts?
  • Does it work in recipes?
  • Does it work with multiple series in one call?
  • PR includes or updates tests?
  • PR includes or updates documentation?

@BeastyBlacksmith
Copy link
Member

Great, would you mind opening a PR against v2 also?

There the backend code is located here:

function pgfx_add_series!(::Val{:mesh3d}, axis, series_opt, series, series_func, opt)

@BeastyBlacksmith BeastyBlacksmith merged commit e6a6cd3 into JuliaPlots:master Jan 8, 2026
5 of 12 checks passed
@BeastyBlacksmith BeastyBlacksmith linked an issue Jan 8, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Colors for mesh3d in pgfplotsx backend

2 participants