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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:05:32+00:00 2026-06-14T01:05:32+00:00

I want to plot only data that is greater than or equal to 6

  • 0

I want to plot only data that is greater than or equal to 6 and less than or equal to 12 on the colorbar. I have written the following. But am unable to include other restrictions:

scatter(x(log_gnd>=6), y(log_gnd>=6), 5, log_gnd(log_gnd>=6));

I also want to divide the colorbar into only 4 segments.

  • 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-14T01:05:33+00:00Added an answer on June 14, 2026 at 1:05 am

    Plot data points greater than or equal to 6 and lower than or equal to 12 (and function reference).

    indices = log_gnd>=6 & log_gnd<=12;    
    scatter(x(indices), y(indices), 5, log_gnd(indices));
    

    Concerning the division of colorbar into 4 segments, following code divides colorbar with labels. If you would like for numbers to be there remove 'YTickLabel', {'First', 'Second', 'Third'} from the code.

    colorbar('YTick', [7.5 9 10.5], 'YTickLabel', {'First', 'Second', 'Third'});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some measurement data which I want to plot. I plot only the
I have a data which I want to plot in cumulative function. The R
I have the data in two files. I want to plot a graph the
I have data that is mostly centered in a small range (1-10) but there
I have a series of spectral data which I want to plot in a
I'm trying to do a plot that has most data points drawn normally, but
So I have some lidar data that I want to calculate some metrics for
With this approach. I have a line plot graph. I want to plot 'two'
I have a vectors of strings, say c(E^A,S^P,lambda,T,E^Q,E^Q,AT) , and I want to plot
I want to plot three graphs in a 1x3 layout. Only the first graph

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.