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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:38:04+00:00 2026-05-29T16:38:04+00:00

I am trying to plot a ratio but my problem is that when the

  • 0

I am trying to plot a ratio but my problem is that when the dividend is larger than the divisor my quotient can be as high as possible. When the divisor is larger than the dividend the quotient is between 0 and 1. That is fine, but when I plot out the results the ratios with the larger dividend take up a huge portion of the plot and the smaller dividend ratios are limited to a much smaller area. Is there a way to show ratios on a plot (hopefully using base plots) where the dividend is five times greater than the divisor will take up the same amount of space as when the divisor is five times greater than the dividend.

Here is some sample data:

x=1:10
y=10:1
ratioxy=x/y

The data is:

x
[1]  1  2  3  4  5  6  7  8  9 10
y
[1] 10  9  8  7  6  5  4  3  2  1
ratioxy
[1]  0.1000000  0.2222222  0.3750000  0.5714286  0.8333333  1.2000000  1.7500000  2.6666667
[9]  4.5000000 10.0000000

When I do this:

plot(ratioxy,type='l',col='blue')
abline(h=1)

I get this:

Plot of ratio image

All I can think of is somehow playing around with the quotients in ratioxy that are less than one, but nothing is coming to me right now.

  • 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-05-29T16:38:06+00:00Added an answer on May 29, 2026 at 4:38 pm

    Try using a logarithmic scale.

    plot(ratioxy,type=’l’,col=’blue’)

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

Sidebar

Related Questions

I am trying to plot a column greater than 10, but I get an
I'm trying to plot points that I've created in a table in mathematica but
I am trying to plot two variables where N=700K. The problem is that there
I have the following data set that I am trying to plot with ggplot2,
I have a plot (sample code pasted below) that I am trying to add
I'm trying to plot a couple of UnitStep functions, but for some reason, Mathematica
I'm having a problem trying to plot a series of lines in a 3D
I am trying to plot the following equation in MATLAB: ratio = sqrt(1+1/(kr)^2) With
I'm trying to make a square plot (using imshow), i.e. aspect ratio of 1:1,
I am trying to plot roots of a function that is composed of multiple

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.