I decided to migrate to the latest version of gnuplot from 4.4 to 4.6
I am having issue with the x label disappearing with version 4.6 but being there with version 4.4.

here is a stripped down version of my script.

set key outside
set title "MY TITLE"
set timefmt "%m/%d/%Y-%H:%M:%S"
set format x "%m/%d %H:%M"
set xdata time
set ylabel "Y LABEL"
set xlabel "Time"
set grid
set xtics rotate by 90 o

Hi,

I installed gnuplot-4.6.5 on Beaglebone Black running Angstrom by compiling from source.

If you tell gnuplot to plot those numbers as simple lines they'll continuously overlap, making hard to see quickly which is higher in each moment, or how they all add up. I find that stacked filled graphs like the one here are much easier to understand, but I couldn't find how to do them with Gnuplot. Until now that is.

I am using the following Gnuplot script :

##### Definitions ####
a=0.3
s0=10.
s1=-9.999
r1u(x)=-exp(x)*(-1+a+a*exp(x))/((1+exp(x))**3)
r2u(x)=exp(x)*(1-exp(x))*(-1+a+a*exp(x))/((1+exp(x))**4)
f1(c,d)=s0*c*(1-2*a)/2. + s1*r1u(d)
f2(c,d)=1./(3.*c) - s0*c/6.

I'm experimenting with evolutionary algorithms and I have written two text files that I cannot get the plot. Based on the information on google, I think I have the format correct.

(generation-number) (tab) (best-fitness)

for example:

1 231

2 240

3 245
...

To plot this, I start gnuplot and I am greeted by the welcome screen.

I have a data file with schema as "object parameter output1 output2 ...... outputk". For eg.

A 0.1 0.2 0.43 0.81 0.60
A 0.2 0.1 0.42 0.83 0.62
A 0.3 0.5 0.48 0.84 0.65
B 0.1 0.1 0.42 0.83 0.62
B 0.2 0.1 0.82 0.93 0.61
B 0.3 0.5 0.48 0.34 0.15
...

I want to create multiple plots, each plot corresponding to an object, with x axis being the parameter and series being the outputs.

I have a sqlite database that contains basic weather information in the following format:

temp1 temp2 pressure humidity
22 23 1024 40
24 25 1027 45
25 26 1020 62
18 15 1019 80

how can I plot this data using gnuplot? Do I have to re-arrange the data before being able to plot it?

In sample.dat I have:

set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350
set output 'simple.2.png'

plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))

From ubuntu/terminal I execute:

gnuplot -e "filename='sample.dat'"

but the simple.2.png file is not created. How do I export a plot to e.g png using gnuplot from command line?

I have a script that runs a calculation and then plots the result using gnuplot script file. The problem is that I need to make more than one plot and I don't want windows to cover each other.