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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:20:24+00:00 2026-05-31T23:20:24+00:00

I am trying to figure out how to generate a colored chart on a

  • 0

I am trying to figure out how to generate a colored chart on a matlab, like the one you can find in here on page 9. (You will have to look through it to find what I am referring to – Stackoverflow doesn’t allow me to post pictures in the postings just yet.)

A few questions:

  1. I do have the table, but my table is a set of discreet points, not a continuous spectrum. So… can I do it in the first place?

  2. If it IS possible, how would I do it?

(By the way, that table is from combat simulation for Risk – I am doing the combat simulation for Risk II, just for fun.)

  • 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-31T23:20:25+00:00Added an answer on May 31, 2026 at 11:20 pm

    The type of image you are looking for, as can be seen on Page 9, is a imagesc plot. Here’s a simple example, using a double sin function. Done without vectorization for simplicity.

    x=0:pi/180:pi;
    y=0:pi/180:pi;
    
    output=zeros(length(x),length(y));
    for ix=1:length(x)
       for iy=1:length(x)
          output(ix,iy)=sin(x(ix)*2)*cos(y(iy)*4);
       end
    end
    figure;imagesc(x,y,output)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out how to generate tabs like jQuery's tabs plugin ,
I'm trying to figure out how to generate functions inside for loop. I have:
I'm trying to figure out how to generate a simple join that uses an
Specifically, I'm trying to figure out if it's possible to generate SQL that does
Trying to figure out an equation to get the current group a page would
Trying to figure out how to write a jquery formula that will sum all
Trying to figure out this pseudo code. The following is assumed.... I can only
I've been struggling for a week now trying to figure out how to generate
I am trying to figure out how services like snap shot are so fast
I'm trying to figure out the cleanest way to generate a bit of html

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.