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

https://github.com/RMonica/Hybrid_HMD_Tracking_RS
09 October 2024, 07:19:50 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    No releases to show
  • 0abb08a
  • /
  • traj_test_new
  • /
  • elab
  • /
  • plot_prismi.sh
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:dc2753795de2dd9f2d58be6b547fa63a772fcc78
origin badgedirectory badge
swh:1:dir:dfa713e6b38d381303f13440b8e2620e52d74c39
origin badgerevision badge
swh:1:rev:0a8db14161db9bc4e579790279580a9bb68755bc
origin badgesnapshot badge
swh:1:snp:0203d2f7ea07552ec1a63af56f020f4b91fd3b0a

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
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 0a8db14161db9bc4e579790279580a9bb68755bc authored by RMonica on 08 October 2024, 13:23:12 UTC
Minor changes in scripts for compatibility.
Tip revision: 0a8db14
plot_prismi.sh
#!/usr/bin/gnuplot --persist

set term eps enhanced size 8, 8 font 'Times,10'
set output "gnuplot_prismi.eps"

set multiplot layout 3, 3

set yrange [-0.1:1.1]

unset key

sigmoid(x, a, b, c) = a * (1 - exp(-(b * x)**c))

sigmoid_from_file(x, filename)=(\
  sigmoid_a = system("cat ".filename." | awk '{print $1}'"),\
  sigmoid_b = system("cat ".filename." | awk '{print $2}'"),\
  sigmoid_c = system("cat ".filename." | awk '{print $3}'"),\
  sigmoid(x, sigmoid_a, sigmoid_b, sigmoid_c)\
)

set xrange [0:0.035]

#\

set title "COMPLEMENTARY ALPHA"
plot "gnuplot_prismi_MODE_COMPLEMENTARY_PARAM_ALPHA.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.035):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.035):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_COMPLEMENTARY_PARAM_ALPHA.txt") with lines,\
     "inters_prismi_MODE_COMPLEMENTARY_PARAM_ALPHA.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.035):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.035):(0) with vectors nohead lc "red"

set xrange [0:0.11]

set title "CONSTR COMPLEMENTARY ROTATION LIMIT"
plot "gnuplot_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.11):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.11):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_LIMIT.txt") with lines,\
     "inters_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.11):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.11):(0) with vectors nohead lc "red"

set xrange [0:0.0011]

set title "CONSTR COMPLEMENTARY TRANSLATION LIMIT"
plot "gnuplot_prismi_MODE_CONSTR_COMPLEMENTARY_TO_PARAM_TRANSLATION_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.0011):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.0011):(0) with vectors nohead,\
     "pthresholds_prismi.txt" using (0):($1):(0.0011):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.0011):(0) with vectors nohead lc "red"

set xrange [0:0.35]

set title "CONSTR COMPLEMENTARY ROTATION DYN LIMIT"
plot "gnuplot_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_DYN_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.35):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.35):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_DYN_LIMIT.txt") with lines,\
     "inters_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_DYN_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.35):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.35):(0) with vectors nohead lc "red"

set xrange [0:11]

set title "CONSTR COMPLEMENTARY ROTATION CURV LIMIT"
plot "gnuplot_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_CURV_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(11):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(11):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_CURV_LIMIT.txt") with lines,\
     "inters_prismi_MODE_CONSTR_COMPLEMENTARY_RO_PARAM_ROTATION_CURV_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(11):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(11):(0) with vectors nohead lc "red"

set xrange [0:0.35]

set title "CONSTR COMPLEMENTARY TRANSLATION DYN LIMIT"
plot "gnuplot_prismi_MODE_CONSTR_COMPLEMENTARY_TO_PARAM_TRANSLATION_DYN_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.35):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.35):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_CONSTR_COMPLEMENTARY_TO_PARAM_TRANSLATION_DYN_LIMIT.txt") with lines,\
     "inters_prismi_MODE_CONSTR_COMPLEMENTARY_TO_PARAM_TRANSLATION_DYN_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.35):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.35):(0) with vectors nohead lc "red"

set xrange [0:0.2]

set title "MODE DIR COMPLEMENTARY ROTATION DYN2 LIMIT"
plot "gnuplot_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_DYN2_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.2):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.2):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_DYN2_LIMIT.txt") with lines,\
     "inters_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_DYN2_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.2):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.2):(0) with vectors nohead lc "red"

set xrange [0:6]

set title "MODE DIR COMPLEMENTARY ROTATION CURV2 LIMIT"
plot "gnuplot_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_CURV2_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(6):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(6):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_CURV2_LIMIT.txt") with lines,\
     "inters_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_ROTATION_CURV2_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(6):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(6):(0) with vectors nohead lc "red"

set xrange [0:0.6]

set title "MODE DIR COMPLEMENTARY TRANSLATION DYN2 LIMIT"
plot "gnuplot_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_TRANSLATION_DYN2_LIMIT.txt" using 1:($2/$3) with lines,\
     "gnuplot_prismi_MOTIVE_FIRST.txt" using (0):($1/$2):(0.6):(0) with vectors nohead,\
     "gnuplot_prismi_OCULUS_FIRST.txt" using (0):($1/$2):(0.6):(0) with vectors nohead,\
     sigmoid_from_file(x, "sigmoid_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_TRANSLATION_DYN2_LIMIT.txt") with lines,\
     "inters_prismi_MODE_DIRECTED_COMPLEMENTARY_PARAM_TRANSLATION_DYN2_LIMIT.txt" using 1:2 with points,\
     "pthresholds_prismi.txt" using (0):($1):(0.6):(0) with vectors nohead lc "dark-red",\
     "pthresholds_prismi.txt" using (0):($2):(0.6):(0) with vectors nohead lc "red"

back to top

Software Heritage — Copyright (C) 2015–2026, 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— Content policy— Contact— JavaScript license information— Web API