-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplot.gp
35 lines (29 loc) · 855 Bytes
/
plot.gp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Florian OMNES (florian.omnes@upmc.fr)
# Charles DAPOGNY (charles.dapogny@univ-grenoble-alpes.fr)
# Pascal FREY (pascal.frey@upmc.fr)
# Yannick PRIVAT (yannick.privat@upmc.fr
# Copyright Sorbonne-Universités 2015-2018
# PLEASE DO NOT REMOVE THIS BANNER
set terminal pdfcairo size 20cm, 15cm
set output "multi.pdf"
set multiplot
set grid
# set origin 0,0
set multiplot layout 2,2 columnsfirst
#Energie dissipée
j0=system("cat J0");
plot "out.dat" u ($1/j0) w l t "J/J0" lw 3
unset format
#L
plot "out.dat" u 2 w l t "Augmented Lagrangian" lw 3
#Volume périmètre
volc=system("cat voltarget");
plot "out.dat" u 3 w l t "V" lw 3, "out.dat" u (volc+0*$3) w l t "Vtarget" lw 3
#
unset logscale
plot "out.dat" u 4 w l t "Lagrange multiplier" lw 3
unset multiplot
unset multiplot
set logscale y
set grid
plot "out.dat" u 5 w lp