sciapp / gr

GR framework: a graphics library for visualisation applications
Other
328 stars 54 forks source link

Feature request: Grid/Ticks/Axis in front of data #103

Closed rjdverbeek-tud closed 4 years ago

rjdverbeek-tud commented 4 years ago

Feature request: user option to allow grid/ticks/axis be plotted in front of the data.

A filled polygon will always plot in front of the grid/ticks/axis. Due to this the grid/ticks/axis will disappear. Even if you don't want that. I can't find any options to indicate that the grid/ticks/axis must be plotted in front of the data.

In the following plot the plotted data (filled areas) is currently in front of the grid, ticks, and axis border. 74274895-280ed700-4d13-11ea-81e4-2e73957ea024

jheinen commented 4 years ago

How did you create the graph? Did you use a convenience function or several low-level GR commands? In the latter case, you could simply change the drawing order ...

rjdverbeek-tud commented 4 years ago

I used PLOTS.JL with GR as backend. Within PLOTS i plotted the map by loading a shp file, and converting it to two vectors (lat/lon). This I used for plotting the map. Furthermore, I used PLOTS to specify the grid, and axis.

I will have a look if it makes a difference for PLOTS to plot it in a different order.

rjdverbeek-tud commented 4 years ago

It looks like PLOTS.jl will plot the grid and ticks first and then the data. I will reopen my feature with them. Wkr. Rene