Giter Club home page Giter Club logo

Comments (3)

xrobin avatar xrobin commented on June 19, 2024

Am I understanding it correctly that the problem is not about multiple curves in a single ggroc plot, but about changing multiple aestetics? I edited your question to reflect that, if it's not the case please let me know.

This sounds like a good idea, I will gave it a try.

from proc.

Johnzav888 avatar Johnzav888 commented on June 19, 2024

Yes, i guess you are right... It is straightforward to plot many roc curves in the same figure, but my question is merely how to distinguish them. For instance, in a paper it is common that you need different color but also different linetype, in order to be distinguishable also in a black&white paper...

Ps I just tried to change the title in the legend, but it doesn't work...It keeps outputing the title "name" ! See the pic below and the code i tried (myplot is the ggroc object)!

`myplot + guides(fill=guide_legend("my awesome title")) + theme(legend.position="bottom", legend.title = element_text(colour="blue", size=10, face="bold"))` 

image

Thanks!

from proc.

xrobin avatar xrobin commented on June 19, 2024

It should now be possible to pass multiple values to aes with the latest commit on the master branch:

ggroc(list(rocs...), aes= c("linetype", "colour"))

Please let me know if it works for you.

from proc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.