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

  • Home
  • SEARCH
  • 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 7771695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:42:56+00:00 2026-06-01T16:42:56+00:00

I have a following plot with logarithmic y-scale that I plotted using ggplot2 in

  • 0

I have a following plot with logarithmic y-scale that I plotted using ggplot2 in R.

enter image description here

convergencePlot = ggplot(allCosts, aes(x=V2))
finalPlot = convergencePlot + stat_bin() + scal_y_log10()

When I plot this I get the following warning:

Stacking not well defined when ymin != 0 
  1. I do not understand this warning. How can I remove this warning?
  2. I see that the plot starts form 1 for all values of x except some where it starts from 0 and end at 1 (red circle). Is this an error?
  3. Some x-values that I see on the extreme left (I guess 77 and 76) are not present in my original data. How can I remove those values? (green circle)
  • 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-01T16:42:57+00:00Added an answer on June 1, 2026 at 4:42 pm

    It’s very difficult to answer this question without some sense of what’s in your actual data, but here’s a guess at least:

    Try + stat_bin(drop = TRUE) instead.

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

Sidebar

Related Questions

I have generated the following plot using the R code that follows it: ggplot(lengths,
I have the following data set that I am trying to plot with ggplot2,
I have the following function, which I would like to plot using ggplot: f(x)
From the documentation for ggplot2's geom_tile() function, we have the following simple plot: #
I have the following Python code which I am using to plot a filled
In a ggplot2 density plot (geom_density) I have the following y-axis labels 0.000 0.005
I have the following code which lets the user plot two points on a
I have following foreach-loop: using System.IO; //... if (Directory.Exists(path)) { foreach(string strFile in Directory.GetFiles(path,
I have the following script to ultimately plot a 4 by 2 subplot: files
I am trying to plot the following numbers on a log scale as a

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.