-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
No 'ylab' param in plot.xts #333
Comments
I think it makes sense to include support for I think we should also include support for It seems like this would be as simple as adding a |
Agreed on all points. Thanks for taking a look.
…On Sat, May 9, 2020 at 8:40 AM Joshua Ulrich ***@***.***> wrote:
I think it makes sense to include support for ylab. I'm sure you're not
the only person who expected it, since it's exposed in plot() and
plot.zoo().
I think we should also include support for sub and xlab. Though it may
make sense that xlab throws a warning, since the x-axis is always time
for xts objects.
It seems like this would be as simple as adding a title() call in
chart.lines() if sub, xlab, or ylab are present in .... Thoughts?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#333 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBDTPBODWZWVIHWZW52RN3RQVFNNANCNFSM4M25D4PA>
.
|
Would you be willing to work on a PR? Please take a look at the contributing guide before you get started. |
Sure, thanks
…On Sat, May 9, 2020 at 8:50 AM Joshua Ulrich ***@***.***> wrote:
Would you be willing to work on a PR? Please take a look at the contributing
guide
<https://github.com/joshuaulrich/xts/blob/master/.github/CONTRIBUTING.md>
before you get started.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#333 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBDTPFD6F42FSCE2CNSGQDRQVGQ5ANCNFSM4M25D4PA>
.
|
Few things worth mentioning: 1. Tried to do this in chart.lines() but ylab was not passing through 2. Need a solution for when multi.panel is not NULL, perhaps a character vector of ylab strings? 3. Needed the plot printed before i could add title() hence cs becomes plot(cs) Simple test is add ylab argument to plot.xts() See joshuaulrich#333
Description
plot.xts does not have nor does it pass a
ylab
argument. Sure i can usetitle()
after the plot function is called, but just wondering if you thinkylab
should be native toplot.xts()
as it is inplot()
?Expected behavior
A little y label appears magically next to the y-axis.
Minimal, reproducible example
Session Info
The text was updated successfully, but these errors were encountered: