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.

Hi,

I am starting to use R to create data plots using the ggplot2 package rather than the standard plot function that comes with R.

Hi,
Does anyone know if there is a way to do a nyquist plot (real Z) vs (Imag Z) in ORCAD SPICE?
I would like to obtain this type of plot for a capacitor and/or battery circuit model such as the Randles cell which is R in series with R || C.

Once I am able to create nyquist plot, then I can go one and refine/tweak the cell model.

I can do a BODE plot just fine and get Phase, Ma

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?

Subject says it. I have multiple files I need to plot overlaying each other. Some of them may be empty. Is there a way to have it ignore the "Skipping data file with no valid points" error and just continue plotting? Here is my plot statement. the 9682 and/or 967E data files may be empty, but I need to see any data in either that is there.

Hi,

I'm trying to generate a cdf graph using gnuplot's smooth cumulative function.

Here is the input file

Code:
34.3
19.2
20.7
28.3
32.5
21
37.6
48.8
44.2
18.1
29.2
20.4
34.4
26.5
43.6
and here is the script that I am using

Code:
set terminal postscript 24 "Times-Roman"
set size 1,1
set output 'plot.eps';

cnt1=`grep -c '' complete_a.txt`

I really can't help you with Rox, as I have never used it nor read the documentation.It would be simple to do as a bash script, especially if you have bash-completion installed.#!/bin/bash

xr="set xrange [-10,10]"
yr="set xrange [-10,10]"
tsize="set term wxt size 11,11"
plot1="plot \"$1\" using 1:2"
plot2="plot \"$2\" using 1:2

Hi,

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