Skip to content

Commit b8e1988

Browse files
committed
Merge pull request #259 from ldecicco-USGS/master
Result of commenting out par(top.par).
2 parents f666b14 + 61ecc73 commit b8e1988

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

R/print.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ print.gsplot <- function(x, ...){
4242

4343
top.par <- par(no.readonly=T)
4444
for (i in which(names(views) %in% 'view')){
45-
par(top.par)
45+
# par(top.par)
4646
plots = views[[i]]
4747
plots[['window']] <- NULL
4848
window = views[[i]][['window']]
-28.9 KB
Loading
-23.2 KB
Loading
-34 KB
Loading

inst/doc/gsplotIntro.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ plot3
6666

6767
## ----echo=TRUE, fig.cap="Fig. 4 Water temperature timeseries on primary y-axis with pH timeseries on secondary y-axis.", fig.width=6, fig.height=6----
6868
site <- '04193490'
69-
demoPlot <- gsplot(mar=c(7.1, 4.1, 4.1, 2.1)) %>%
69+
demoPlot <- gsplot(mar=c(7.1, 4.1, 4.1, 4.1)) %>%
7070
lines(dates[[site]], Wtemp[[site]], col="orangered",
7171
legend.name="Water Temperature", ylab='Water Temperature (deg C)') %>%
7272
lines(dates[[site]], pH[[site]], col="seagreen", side=4,

inst/doc/gsplotIntro.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For timeseries, it is sometimes helpful to plot data on the same graph to make c
114114

115115
```{r echo=TRUE, fig.cap="Fig. 4 Water temperature timeseries on primary y-axis with pH timeseries on secondary y-axis.", fig.width=6, fig.height=6}
116116
site <- '04193490'
117-
demoPlot <- gsplot(mar=c(7.1, 4.1, 4.1, 2.1)) %>%
117+
demoPlot <- gsplot(mar=c(7.1, 4.1, 4.1, 4.1)) %>%
118118
lines(dates[[site]], Wtemp[[site]], col="orangered",
119119
legend.name="Water Temperature", ylab='Water Temperature (deg C)') %>%
120120
lines(dates[[site]], pH[[site]], col="seagreen", side=4,

inst/doc/gsplotIntro.html

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

inst/extdata/default.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
xaxs: "r"
2-
yaxs: "r"
1+
xaxs: "i"
2+
yaxs: "i"
33
tcl: 0.3
44
mgp: [1.5, 0.3, 0.0]
55
points:

0 commit comments

Comments
 (0)