echarts-gl
echarts-gl copied to clipboard
Contour lines in surface plots.
It will be very useful, when plotting 3D surfaces, to allow the projection of contour lines in the grid planes, similar to what plotly.js does. Also plotly.js has a feature Contour that plots the 2D contour lines of a surface, and I don’t know if this can be obtained with heatMap.
This is an example of a surface plot with level curves on the canonical planes in plotly.js.
Plotly.js library is very good but is heavy to load.
And here an example of Contour plot of the same surface. Contour plots could be even an option of heatmaps,by showing the level lines of the surface.
Finally it would be very nice if there were costume color palettes.
I like your library a lot!
Thanks!!!
Thanks for the very detailed suggestion! Seems projecting a 2D plot on the grid plane will be a good idea. It can be a contour plot as you described, or scatter plot, and any other kind of plot.
Yes, the contour lines are plotted in 2D. They could be projections of the wireframe on the 3D-grid planes (as in figure1), or they could be plotted as a scatter 2D plot for a given surface and axis (as in figure2 for the z-axis).
I am a math teacher and contour lines are very useful for my graphs. In fact, your library has so many features for mathematicians! In particular few graph libraries have 3D plot features like yours.
I think maybe you can figure out a way to introduce these features without too much turmoil in your code.
Thanks!
Milton.
El mar, 12 de ene. de 2021 a la(s) 22:16, Yi Shen ([email protected]) escribió:
Thanks for the very detailed suggestion! Seems the contour is on the plane instead of 3D space. Correct me if I'm wrong
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ecomfe/echarts-gl/issues/380#issuecomment-759176703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKU23LGB7I4WRUMOCD26N4LSZUF7TANCNFSM4V2INIHQ .