Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added lineScatter.yaml with universal plotting stuff #371

Merged
merged 1 commit into from
Jul 1, 2016

Conversation

wdwatkins
Copy link
Contributor

@wdwatkins wdwatkins commented Jul 1, 2016

Might want to change the name of this config?

@wdwatkins wdwatkins mentioned this pull request Jul 1, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 76.755% when pulling 28e4d25 on wdwatkins:master into 4bfd0c4 on USGS-R:master.

@wdwatkins wdwatkins changed the title added config.yaml with for universal plotting stuff added lineScatter.yaml with for universal plotting stuff Jul 1, 2016
@wdwatkins wdwatkins changed the title added lineScatter.yaml with for universal plotting stuff added lineScatter.yaml with universal plotting stuff Jul 1, 2016
@lindsayplatt lindsayplatt merged commit 5f0bf48 into USGS-R:master Jul 1, 2016
@wdwatkins
Copy link
Contributor Author

To load the config file:

loadConfig('inst/extdata/lineScatter.yaml')
set.seed(2576)
X <- runif(33)
Y <- runif(33)

gs <- gsplot() %>% points(X,Y,xlab="X",ylab="Y") %>% axis(c(3,4),labels=FALSE)

image

@jordansread
Copy link
Member

@wdwatkins I think if you have the most recent (master on USGS-R/gsplot) you would see a box, right?

@jordansread
Copy link
Member

jordansread commented Jul 1, 2016

Also, for those loading the package (w/o the source in inst)

loadConfig(system.file('extdata', 'lineScatter.yaml', package = 'gsplot'))
set.seed(2576)
X <- runif(33)
Y <- runif(33)

gs <- gsplot() %>% points(X,Y,xlab="X",ylab="Y") %>% axis(c(3,4),labels=FALSE)

@wdwatkins
Copy link
Contributor Author

@jread-usgs Yes, I wasn't updated. Had some weird build problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants