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

Points added to plot as rectangles #203

Closed
joshuaulrich opened this issue Jul 30, 2017 · 0 comments
Closed

Points added to plot as rectangles #203

joshuaulrich opened this issue Jul 30, 2017 · 0 comments

Comments

@joshuaulrich
Copy link
Owner

Points are represented with rectangles when added to a plot with either points() or addSeries(). It would be better to add them using a value for pch similar to plot(1:10, type = "p"). pch = 21 seems to produce a graph similar to base plotting.

require(xts)
data(sample_matrix)
x <- as.xts(sample_matrix)
plot(x[,1])
addSeries(x[,2], type = "p")
addSeries(x[,3], type = "b")
points(x[,4])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant