Skip to content

Question on function "scatterplot3d"

7 messages · Ismail SEZEN, Uwe Ligges, Rolf Turner +1 more

#
Everything seems ok to me. Try to reset/clear all plots in your plotting window and try only to run the code above. Perhaps You changed par settings before in some point?
#
On 01/06/17 13:17, Ismail SEZEN wrote:
I tried the code given above, and after I replaced the <expletive 
deleted> incorrect double quote mark (after the final "z"), it ran and 
looked OK *except* for the positioning of the "y" axis label, which is 
at the "far end" of the y-axis rather than being at the "centre" of the 
y-axis.  (See attached.)

Is this a bug?

cheers,

Rolf Turner

P.S. I have also attached the code in the file "scatScript.txt", for 
convenience.

P^2. S.:

 > sessionInfo()
R Under development (unstable) (2017-04-21 r72585)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS

Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so

locale:
  [1] LC_CTYPE=en_NZ.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_NZ.UTF-8        LC_COLLATE=en_NZ.UTF-8
  [5] LC_MONETARY=en_NZ.UTF-8    LC_MESSAGES=en_NZ.UTF-8
  [7] LC_PAPER=en_NZ.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_NZ.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] scatterplot3d_0.3-40 misc_0.0-16

loaded via a namespace (and not attached):
  [1] compiler_3.5.0       deldir_0.1-15        Matrix_1.2-8
  [4] spatstat.utils_1.4-1 tools_3.5.0          mgcv_1.8-17
  [7] abind_1.4-5          spatstat_1.50-0      rpart_4.1-11
[10] nlme_3.1-131         grid_3.5.0           polyclip_1.6-1
[13] lattice_0.20-35      goftest_1.1-1        tensor_1.5
#
A design flaw, whether the labels are cut depends somewhat on the sizce 
of the device, hence there is the argument

y.margin.add	

add additional space between tick mark labels and axis label of the y axis

for working around that limittation that can be set to some positive 
value....

Best,
Uwe Ligges
On 01.06.2017 07:15, Rolf Turner wrote:
#
On 01/06/17 19:54, Uwe Ligges wrote:
This seems to be addressing Hannah's (li li's) original enquiry, not my 
follow-up in which I worried about the position, along the y-axis, of 
the y-axis label.

Or am I misunderstanding/missing something?

cheers,

Rolf
#
On 01.06.2017 10:03, Rolf Turner wrote:
Ah, that is intended as a smart way of rotating it along the axis is not 
easy (if not impossible) with the bas egraohics system.

Best,
Uwe Ligges
#
Thanks so much for the help!!
   Hanna


2017-06-01 11:02 GMT-04:00 Uwe Ligges <ligges at statistik.tu-dortmund.de>:

  
  
#
On 02/06/17 03:02, Uwe Ligges wrote:
OK.  Fair enuff.  Thanks.

cheers,

Rolf