[R] calculate monthly mean

2010-09-02 Thread Ali Alsamawi
Hello group Im trying to plot 3d with scatterplot packages, i got error say length(color) must be equal length(x) or 1 may data has dimensions (lon,lat,lev,time) ,the time in month i want to calculate the monthly mean for the time how can i make that , is there any function

[R] i need help about reverse axes

2010-06-03 Thread Ali Alsamawi
Hello im trying to plot 3d with scatterplot packages , everything is work on my program below but my problenm i want to set my pressure level or axis(z-axis) to reverse like from bottom to top, i used function rev but not work just for 2d plots the figure in attachment and the program