The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

nemesis (2) [Avatar] Offline
#1
Good evening,

Given the data specified at the beginning of listing 3.2 : "z <- 10/x"

I guess that :
"# add x vs. 1/x line
lines(x, z, type="b", pch=22, col="blue", lty=2)"
should be :
"# add x vs. 10/x line
[idem]"

and that :
"# add a title for the right axis
mtext("y=1/x", side=4, line=3, cex.lab=1, las=2, col="blue")"
should be :
"#[idem]
mtext("z=10/x", side=4, line=3, cex.lab=1, las=2, col="blue")"

Hence, the resulting graph should differ a little bit from the current figure 3.9.

Best regards.
robert.kabacoff (170) [Avatar] Offline
#2
Re: Small Typos : listing 3.2 an exemple of custom axes and fig. 3.9
z=10/x is what I was going for. Thanks for pointing the labeling issue. I have corrected the text for the next release.

Sincerely,

Rob