How to remove ticks in prespbox

Library (Plot3D) I am trying to plot a 3d plot with grid lines using the prespbox function and adding an additional figure plot based on some data using the surf3d function.

This is my code:

library(plot3D)

# added a comment

perspbox (x = seq(0.05, 0.5, length.out = nrow(M$x)), 
      y = seq(0.05, 0.5, length.out = ncol(M$y)), z, 
      bty = "u", 
      col.axis = "black", col.panel = "white", lwd.panel = 1,                     
      col.grid = "grey", lwd.grid = 1, las=1,
      phi = 40, theta = 40, col = NULL,ps=30,
      nticks=4, ticktype="detailed", xlab="\n\n h1", ylab="\n\n h2", zlab="\n\n Fund",
      colkey = TRUE,cex.axis=0.5, plot = TRUE)
surf3D(M$x, M$y, z, colvar = z, colkey = TRUE,add=TRUE)

      

My problem is that the tick lines on the axis are too long.

Do you have an idea how I can get rid of clicks? I want to keep the axis labels but remove the tick lines completely. I already tried tck-option but it doesn't seem to have any effect.

Thank you very much in advance.

+3
r 3d


source to share


No one has answered this question yet

See similar questions:

3
plot3d - how to change box color and remove axis ticks

or similar:

2474
How to make a great R reproducible example
1251
How to sort a data frame by multiple columns
1068
How to concatenate (merge) data frames (inner, outer, left, right)
756
Remove lines with all or some neural networks (missing values) in data.frame
674
How can we create xkcd style graphs?
609
How to replace NA values ​​with zeros in R-data frame?
1
Epidemiology Curve Using R and Epitools Produces Incorrect Epivecs
1
ggplot: line plot for the discrete x-axis
0
Creating a grouped bar chart using a matrix in R
0
R lines, values ​​outside the area



All Articles
Loading...
X
Show
Funny
Dev
Pics