You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prof.
I'm trying to plot two different Argo matrix (Temperature and Salinity) in a single plot like this plot:
The temperature is the rasterimage and the salinity is the contour lines.
The two matrix were not identical either in date and/or depth, so I gave 0 to the empty cell:
Temp<-read.csv(file.choose())
Sali<-read.csv(file.choose())
library("plot3D")
par(mfrow = c(1, 1))
image2D(z = Temp, shade = 0.2, rasterImage = TRUE)
Error in FUN(X[[i]], ...) :
only defined on a data frame with all numeric variables
contour2D(z = Sali, col = "white", labcex = 0.8,
lwd = 3, alpha = 0.5, add = TRUE)
Error in FUN(X[[i]], ...) :
only defined on a data frame with all numeric variables
Please advice me to the correct codes to get the plot.
Thanks
Issam
The text was updated successfully, but these errors were encountered:
Prof.
I'm trying to plot two different Argo matrix (Temperature and Salinity) in a single plot like this plot:
The temperature is the rasterimage and the salinity is the contour lines.
The two matrix were not identical either in date and/or depth, so I gave 0 to the empty cell:
Argo_Arabian_Sea_2018_Salin_Depth.txt
Argo_Arabian_Sea_2018_Temp_Depth.txt
Using these codes I get these results:
Error in FUN(X[[i]], ...) :
only defined on a data frame with all numeric variables
Please advice me to the correct codes to get the plot.
Thanks
Issam
The text was updated successfully, but these errors were encountered: