Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download
Permalink

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:6ceb44bc95426a550d4356d90f9ea1760573bddc
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
#!/bin/bash
rm *.o
rm *.ps
rm *.eps
rm ./flutter_density_estimator
make

./flutter_density_estimator snapshot.txt density_snapshot.txt 0


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel 'Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_snapshot.ps
plot "density_snapshot.txt"  using 1:2 with lines title 'Velocity probability density of the snapshot' linewidth 4 linecolor rgb "blue"
EOF
gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_snapshot.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w for the snapshot' linewidth 4 linecolor rgb "blue"
EOF


./flutter_density_estimator agrawal1.txt density_agrawal1.txt 1


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel 'Log of the Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_agrawal1.ps
plot "density_agrawal1.txt"  using 1:2 with lines title 'Velocity probability density of the first Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_agrawal1.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w for the first Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF


./flutter_density_estimator agrawal2.txt density_agrawal2.txt 1


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel 'Log of the Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_agrawal2.ps
plot "density_agrawal2.txt"  using 1:2 with lines title 'Velocity probability density of the second Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF

gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_agrawal2.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w for the second Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF



./flutter_density_estimator agrawal3.txt density_agrawal3.txt 1


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel 'Log of the Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_agrawal3.ps
plot "density_agrawal3.txt"  using 1:2 with lines title 'Velocity probability density of the third Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF

gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_agrawal3.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w for the third Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF




./flutter_density_estimator agrawal4.txt density_agrawal4.txt 1


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel 'Log of the Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_agrawal4.ps
plot "density_agrawal4.txt"  using 1:2 with lines title 'Velocity probability density of the fourth Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF

gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_agrawal4.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w for the fourth Agrawal et al. code' linewidth 4 linecolor rgb "blue"
EOF


./flutter_density_estimator mccloskey.txt density_mccloskey.txt 1


gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'Velocity v'
set ylabel ' Log of the Probability'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'density_mccloskey.ps
plot "density_mccloskey.txt"  using 1:2 with lines title 'Velocity probability density of the McCloskey et al. et al. code' linewidth 4 linecolor rgb "blue"
EOF

gnuplot <<EOF
set lmargin 5
set rmargin 1
set xlabel 'x'
set ylabel 'Estimated derivative of the function w'
set terminal postscript eps color
set key on  below box title 'Legend'
set key left Left reverse
set output 'wprime_mccloskey.ps
plot "wprime.txt"  using 1:2 with lines title 'The estimated derivative of the function w of the McCloskey et al. et al. code' linewidth 4 linecolor rgb "blue"
EOF

ps2eps -f -B -l *.ps

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top