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 8814117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:01:38+00:00 2026-06-14T04:01:38+00:00

My code: ggplot(data=ICL3, aes(x=as.Date(AÑO_MES), y=IndICL3, group=RUN_FM, colour=RUN_FM)) + labs(colour = RUN Fondos) + coord_cartesian(ylim=c(0,

  • 0

My code:

ggplot(data=ICL3, aes(x=as.Date(AÑO_MES), y=IndICL3, group=RUN_FM, colour=RUN_FM)) +
  labs(colour = "RUN Fondos") +
  coord_cartesian(ylim=c(0, 150)) + 
  xlab("Periodo") + ylab("% Cobertura")  +
  geom_hline(aes(yintercept=100),colour="red",size=1.2) +
  stat_summary(fun.y = mean, geom="smooth", size=1, mapping = aes (group = 1),colour="green") + 
  geom_point() +
  facet_grid(RUN_FM ~ SERIE)

Facet_grid is plotting all the results in one window which consist in more than 100 tables, which obviously looks awful and is unintelligible.

Is there a way to put a condition on the number of tables, and plot the results in more than 1 window? Or do I have to manually split the data for comprehensible graphics?

  • 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-14T04:01:39+00:00Added an answer on June 14, 2026 at 4:01 am

    The best I can think of is saving subsets of your total facet series.

    Without a reproducible dataset, I can only suggest that you

    1) look here for how to subset data for facets (two at a time?)

    2) wrap a for loop or lapply() function around a plot call and ggsave()

    try(ggsave(file = paste(<some directory>,<some changing file name>,".png">),
        height=y,width=x)) 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

library(ggplot2) This code produces a nice looking plot: qplot(cty, hwy, data = mpg, colour
I am making a dotplot using ggplot with the code and data that is
I am plotting some data series along with regression lines using this code: ggplot(dt1.melt,
I have the following dataset with daily collected data. R> toydata date group coef
Code: String message = MessageFormat.format(error {0},e); E.g. message: java.text.ParseException: Unparseable date: sdf sf sa
I am using ggplot to plot some data. It works fine but I'd like
When running this code (go ahead, try it): library(ggplot2) (myDat <- data.frame(cbind(VarX=10:1, VarY=runif(10)), Descrip=sample(LETTERS[1:3],
I'm fairly new to ggplot. I have made a bumpplot using code posted below.
I am graphing some data with ggplot. However, I don't understand the error I'm
There were example code for E on ggplot2 library: theme_set(theme_bw()) dat = data.frame(value =

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.