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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:33:49+00:00 2026-05-25T13:33:49+00:00

A simple question about gnuplot. i have a data represented in a table, that

  • 0

A simple question about gnuplot.
i have a data represented in a table, that spans further in each direction.

0   1           2           3           4
1   1           2.0408830835    2.8180454121    3.9760428593
2   2.0622871101    3.9709816613    5.7664953944    7.5379858295
3   3.1861064949    5.7565758609    7.8939354949    9.7787163957
4   4.0944785549    6.4357145355    9.5787145459    11.6365303155
5   4.7675231829    6.3181833785    8.8833920556    11.4107253565
....

I want to plot this as a surface or fence in gnuplot, so that first column represents X, first row represents Y, and data at position {x,y} in the table represents Z, the height of the graph.

Is there a way to do it?
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-05-25T13:33:50+00:00Added an answer on May 25, 2026 at 1:33 pm

    If do not have gridded data then the following might do the trick for you:

    Take a data file “Data.csv”:

    0.65  0.99  0.28  0.43  0.50
    0.98  0.23  0.15  0.94  0.19
    0.57  0.65  0.38  0.31  0.20
    0.15  0.08  0.88  0.16  0.64
    0.37  0.84  0.87  0.59  0.41
    

    and plot it like so:

    splot "Data.csv" matrix w lines
    

    Gnuplot will index your data from 0 to n/m. If you want to specify the point (x, y) in space for each data point then you need to specify a grid that tells gnuplot where each point is actually located.

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

Sidebar

Related Questions

Yet another simple question about unit testing model objects that uses data access layer.
I have a simple question about a java map.Suppose I have a map that
I have a (somewhat) simple question about android. I have some classes that contain
I just have one simple question about XSS attack. I know that you can
I have this rather simple question about Scala. Given that i have to following
I have a simple question about the java classloading mechanism. I think that the
I have a simple question about Java's XML API and I hope there's a
I have a fairly simple question about these 2 templating engines. I'm trying to
I have what I hope is a fairly simple question about using the value
Simple question, but one that I've been curious about...is there a functional difference between

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.