r - Plotting surfaces with contour map in 3D over triangles
By A Mystery Man Writer
Description
The example code here for rgl does almost what I want. However my (x,y) are not in a rectangle but in a triangle that is half of the rectangle (x=0..1, y=0..1 and z is missing if x+y>1).
My input
![r - Plotting surfaces with contour map in 3D over triangles](https://global.discourse-cdn.com/business7/uploads/plot/original/2X/e/ebc618e2ff4f208cb97321831aa60d99f2072df0.jpeg)
How to activate contour lines in Mesh3D as in Surface3D? - 📊 Plotly Python - Plotly Community Forum
![r - Plotting surfaces with contour map in 3D over triangles](https://global.discourse-cdn.com/business7/uploads/plot/original/2X/b/b4c6690604007426495682aa644c03e2f8288cb4.png)
3D Surface Plot Bug Report - Plotly Community Forum
![r - Plotting surfaces with contour map in 3D over triangles](https://www.rayshader.com/reference/figures/README_ggplots-1.png)
Create Maps and Visualize Data in 2D and 3D • rayshader
![r - Plotting surfaces with contour map in 3D over triangles](https://i.stack.imgur.com/z6u3p.png)
ggplot2 - how to plot three dimension data or four dimension data to filled contour plot or surface plot in R - Stack Overflow
![r - Plotting surfaces with contour map in 3D over triangles](https://miro.medium.com/v2/resize:fit:1400/1*4hWnN9frdnmUXx-rBW2ung.png)
Make beautiful 3D plots in R — An Enhancement to the Storytelling, by Xichu Zhang
![r - Plotting surfaces with contour map in 3D over triangles](http://cloud.originlab.com/www/resources/graph_gallery/images_galleries_new/3D_Surface_Plot_for_XYZ_Data.png)
New Originlab GraphGallery
![r - Plotting surfaces with contour map in 3D over triangles](http://homepage.stat.uiowa.edu/~luke/classes/STAT4580/threenum_files/figure-html/unnamed-chunk-3-1.png)
Visualizing Three or More Numeric Variables
![r - Plotting surfaces with contour map in 3D over triangles](https://i.stack.imgur.com/F2lAf.png)
r - Adding Contour Lines to 3D Plots - Stack Overflow
![r - Plotting surfaces with contour map in 3D over triangles](https://i.stack.imgur.com/MEnFn.png)
ggplot2 - how to plot three dimension data or four dimension data to filled contour plot or surface plot in R - Stack Overflow
![r - Plotting surfaces with contour map in 3D over triangles](https://i.stack.imgur.com/Pt1Nw.jpg)
ggplot2 - how to plot three dimension data or four dimension data to filled contour plot or surface plot in R - Stack Overflow
from
per adult (price varies by group size)