-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Adding Line Colour Changes Line Position #120
Comments
You want to control the colors on each curve? try this:
I was having the same problem and when debugging found that it uses geom_step function and this is how to control the colors :) Despite all this, I think the implementation on ggfortify should be more clear on that option or corrected. Cheers |
@averissimo thx for the reply. It is correct that we should specify multi colors like @DarioS Sorry to late reply, I missed the notification. |
I think that it would be better to provide abstraction of this to the end-user, as the function currently tries to do unsuccessfully. The underlying ggplot2 framework should be hidden away where possible. |
OK, will consider the fix. |
@DarioS I'm guessing that you want to make all lines red regardless of which group they are. Am I correct? |
Actually, it would be desirable to specify one colour per factor level. I only used
Note that the number of samples in the error message is wrong.
|
I will take a look tomorrow. I think the issue is with the way that |
A pull request for fixing this would be appreciated! @lselzer @DarioS @averissimo |
I firstly used the command
and got a sensible looking plot.
Then, I added a line colour and the placement of lines changed
The legend also disappeared.
The text was updated successfully, but these errors were encountered: