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

The Archive Base Latest Questions

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

I have a list of {x,y,z} values and I am using a ListDensityPlot to

  • 0

I have a list of {x,y,z} values and I am using a ListDensityPlot to visualize it. I want to draw contours with something like MeshFunctions->{#3&}. This is what I have now:

ListDensityPlot[data, PlotRange->{0, 350}, Mesh->{10}, MeshFunctions->{#3 &}]

But I want the values of contours to grow exponentially from the minimum value of z up to the maximum range (which is 350). How do I do that? Thanks!

  • 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-01T03:42:15+00:00Added an answer on June 1, 2026 at 3:42 am

    If you give a single number (like 10) to Mesh, you’re asking for that many contours, evenly spaced. But if you give it a list of values, contours will be drawn at those points.

    So all we need now is a list of ten numbers (let’s say n numbers) increasing exponentially from the minimum value (call it min) to the maximum (call it max). We can generate it like this — the proof is left as an exercise:

    Table[
        min Exp[i Log[max / min] / (n - 1)],
        {i, 0, n - 1}
    ]
    

    So the solution to your problem is:

    min = Min[data[[All, 3]]];
    ListDensityPlot[
        data,
        PlotRange->{0, 350},
        Mesh->{Table[
            min Exp[i Log[350 / min] / 9],
            {i, 0, 9}
        ]},
        MeshFunctions->{#3 &}
    ]
    

    Note the extra braces around the Table call, which make that list of values the specification for a single mesh.

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

Sidebar

Related Questions

I have a list of values like this 1000, 20400 22200, 24444 The ranges
I have a select list which is being populated using the values from a
I have a list of string values that I want add to a hashtable
I have a list of values I want to insert into a table via
Say I have a list of values, this list can be of any length:
I have setup Knockoutjs to dynamically create an editable list of values using the
i have List of int which consists of value 0,0,0,1,2,3,4,0,0 now i like to
I have a list of strings like this: X = [a, b, c, d,
I have list of rows that I have fetched using mysql_fetch_array() . Now I
I have a list of values in my XML file which I would like

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.