Hi All,

I'm trying a 3D-plot using wireframe() from Lattice package. Below is my
code and sample data (read in "dta" object).

I'm wondering if it is possible to make center grid (curved) line more
prominent (or bold). The curved line I'm talking about is the center
line drawn for a fixed value of log(B) [i.e. log(8)=0.90]. Any help would be
highly appreciated. Thanks in advance.

Code:

library(lattice)
wireframe(C~log(A)*log(B), data=dta, strip=TRUE, shade = TRUE, pretty=TRUE,
 aspect = c(61/87, 0.7),  light.source = c(5,1,10))

Data:

"A","B","C"
0,4,22.66348
0.0625,4,26.71975
0.08839,4,28.39545
0.125,4,30.74843
0.17678,4,34.02359
0.25,4,38.50773
0.35355,4,44.47024
0.5,4,52.02436
0.70711,4,60.91647
1,4,70.3768
1.41421,4,79.27115
2,4,86.59233
2.82843,4,91.90633
4,4,95.37546
5.65685,4,97.46306
8,4,98.64782
11.31371,4,99.2935
16,4,99.63586
22.62742,4,99.81405
32,4,99.90565
45.25483,4,99.95234
64,4,99.976
90.50967,4,99.98794
128,4,99.99395
181.01934,4,99.99697
256,4,99.99848
0,8,53.96374
0.0625,8,56.73697
0.08839,8,57.83093
0.125,8,59.32473
0.17678,8,61.33378
0.25,8,63.97749
0.35355,8,67.34985
0.5,8,71.46838
0.70711,8,76.20942
1,8,81.26487
1.41421,8,86.17732
2,8,90.47885
2.82843,8,93.86382
4,8,96.27334
5.65685,8,97.84582
8,8,98.80233
11.31371,8,99.35346
16,8,99.65849
22.62742,8,99.82243
32,8,99.90871
45.25483,8,99.95345
64,8,99.9764
90.50967,8,99.98808
128,8,99.994
181.01934,8,99.99698
256,8,99.99849
0,16,82.42161
0.0625,16,83.23099
0.08839,16,83.55101
0.125,16,83.98916
0.17678,16,84.58129
0.25,16,85.36725
0.35355,16,86.3852
0.5,16,87.66067
0.70711,16,89.19046
1,16,90.9252
1.41421,16,92.76064
2,16,94.55049
2.82843,16,96.14465
4,16,97.43667
5.65685,16,98.39195
8,16,99.04155
11.31371,16,99.45261
16,16,99.69787
22.62742,16,99.83758
32,16,99.9144
45.25483,16,99.95555
64,16,99.97716
90.50967,16,99.98836
128,16,99.9941
181.01934,16,99.99702
256,16,99.9985

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to