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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:19:01+00:00 2026-06-05T21:19:01+00:00

In GNUPlot you can make 3d plots based on a .dat file with a

  • 0

In GNUPlot you can make 3d plots based on a .dat file with a matrix notation:

#Y 0.1  0.2  0.3  0.4
    0    1    4    9   #X =  1
    1    2    5   10   #X =  2
    4    5    8   13   #X =  3
    9   10   13   18   #X =  5
   16   17   20   25   #X =  7
   25   26   29   34   #X = 10

However the file I want to plot has some changes in X-distance between the lines. As shown in comment. One can use set xtics but that only changes the numbers on the plot, while the points should be plotted on a linear axis.

Is there a way to do this?

  • 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-05T21:19:02+00:00Added an answer on June 5, 2026 at 9:19 pm

    No, not with this type of matrix notation. You would have to use a format as described here: http://t16web.lanl.gov/Kawano/gnuplot/datafile-e.html#3dim

    The matrix format assumes an even spacing between x and y points, but the 3D data format allows arbitrary positioning of all the points.

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

Sidebar

Related Questions

I try to make a plot on gnuplot which has no real range order
How can I plot (a 3D plot) a matrix in Gnuplot having such data
I'm plotting some data curves with gnuplot, and they look like this: However, the
I make a dozen of plots with Gnuplot on Mac via ruby-gnuplot . If
I am used to plot data with gnuplot, so I can easily put the
I want to have a single .plt file storing both data and gnuplot commands.
I'm doing some script on bash to plot data with gnuplot. But it doesn't
I need to plot a data file of 2 colums using gnuplot, scatter plot
How do you make an horizontal box-and-whiskers plot in gnuplot? Similarly to this one:
I have the following dat file, named ls.dat : # Gnuplot script file for

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.