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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:25:21+00:00 2026-05-27T20:25:21+00:00

Gnuplot gives me the following picture with an odd disjoint in the second graph,

  • 0

Gnuplot gives me the following picture with an odd disjoint in the second graph, whose origin I cannot determine. I’ve included the data below, in which the x-values are monotonically increasing, which should rule out the possibility of such a disjoint. Any help appreciated!
enter image description here
Generated from the following script:

set size 0.8,0.4
set lmargin 1
set terminal png
set output "test.png"
set multiplot
set origin 0.1,0.1
set xtics 5
set xrange[0:25]
set xlabel "Year"
plot "./g1" u ($1+1):2 w lines t "4 years"
set xlabel ""
set origin 0.1,0.5
set xtics format ""
set x2tics 5
plot "./g2" u ($1+1):2 w lines t "5 years"
unset multiplot

Data for g1 is:

0.000000    1.000000
1.000000    3.000000
2.000000    9.000000
3.000000    27.000000
4.000000    0.809131
5.000000    2.427394
6.000000    7.282183
7.000000    21.846549
8.000000    0.654694
9.000000    1.964081
10.000000   5.892243
11.000000   8.935199
12.000000   0.529733
13.000000   1.589200
14.000000   3.983240
15.000000   2.509780
16.000000   0.428624
17.000000   1.233139
18.000000   1.951804
19.000000   0.595792
20.000000   0.343980
21.000000   0.809600
22.000000   0.729229
23.000000   0.171423
24.000000   0.258384
25.000000   0.426250

Data for g2 is:

0.000000        1.000000
1.000000        3.000000
2.000000        9.000000
3.000000        27.000000
4.000000        81.000000
5.000000        2.427394
6.000000        7.282183
7.000000        21.846549
8.000000        65.539647
9.000000        196.618942
10.000000       5.892243
11.000000       17.676730
12.000000       53.030190
13.000000       159.090569
14.000000       241.250367
15.000000       14.302798
16.000000       42.908394
17.000000       128.725182
18.000000       322.642448
19.000000       203.292210
20.000000       34.718531
21.000000       104.155593
22.000000       299.652772
23.000000       474.288428
24.000000       144.777335
25.000000       84.275565
  • 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-27T20:25:22+00:00Added an answer on May 27, 2026 at 8:25 pm

    That’s strange. On my system (ubuntu 11.10 64bit) I don’t see the problem you have:

    $ gnuplot --version
    gnuplot 4.4 patchlevel 3
    
    $ gnuplot < a.gnuplot  # a.gnuplot is your script, unmodified
    

    And it produces this:

    gnuplot output on my system

    If I were you I’d check:

    1. gnuplot version
    2. The input files – in vim use set list to see if there’s any rampant characters hidden
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am drawing a 3D Gnuplot graph with the following script. My Gnuplot version
How can I plot (a 3D plot) a matrix in Gnuplot having such data
I'm using Gnuplot to draw a graph. In the graph I drew three smooth
I am looking for a gnuplot-like program for charting data in a timeline. gnuplot-like
I am using gnuPlot library for printing a graph in C++ code. Its printing
when plotting my data using gnuplot, I experience that the right border is cut
I'm using gnuplot to plot three dimentions of data using pm3d. I'm trying to
I am used to plot data with gnuplot, so I can easily put the
In gnuplot, how can i draw horizontal bars across the entire graph at every
Normally when using interactively gnuplot I do: gnuplot> plot state_log_6548032.data using 4 with lines

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.