Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8089113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:18:35+00:00 2026-06-05T19:18:35+00:00

I saw that even by writing separate commands, we can combine two different types

  • 0

I saw that even by writing separate commands, we can combine two different types of plots in R. For example, if a histogram has been created in R where the histogram plots points representing the frequency of the items, we can connect these dots by calling a line() function. Now, these two plots are separate commands.

How does this work in R? When can it combine plots and what is actually supported here?

Thanks
Abhishek S

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:18:36+00:00Added an answer on June 5, 2026 at 7:18 pm

    Once you have drawn a plot, you can usually just draw on top of it with any other plotting functions that do not call for a new plot (i.e. that clear the plot window and reset the coordinate system). There are some caveats of course.

    One important one is that the plot function needs to preserve the correct coordinate system otherwise the mapping from the data used to add a line and the plot will be corrupted – they won’t line up.

    Another consideration is that what you propose is only possible for a single “panel” plot or for the last panel drawn in a multi panel plot. If a multipanel plot has been drawn usually you will find that the plotting function is a good citizen and resets the coordinate space/plot window to a single panel. That will break links between the data and the plot that will be difficult to recreate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw that javascript has something similar. Is it possible to do something like
Checking the documentation online I saw that it is pass by reference. Can someone
While implementing XML file reading/writing in my application I saw that when I call
I saw that __VIEWSTATE field gets rendered even though I have set the EnableViewState=false
I saw that lots of people have Problems uploading a file in a test
I saw that LinkedHashSet extends HashSet and I know it preserves order. However, from
I saw that to show a JOptionPane message dialog I need the shutdownHooks permition.
I saw that one of our tools uses a ConsoleAppender to System.err next to
I just recently saw that xcopy is deprecated and that Robocopy is recommended. I
After reading some statistics about my app I saw that it takes over one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.