Software codes


Visibility graphs


Here you can find Fortran 90/95 and Matlab codes for the visibility graph projects.

  • Horizontal and Directed Horizontal visibility graphs (Fortran 90/95)
    This code generates the adjacency matrix and the degree distributions of both HVG and DHVG associated to a series of arbitrary size. The execution time for noisy (stochastic/chaotic) series is O(N).
    If you use this code, please cite

    [1] Horizontal visibility graphs: exact results for random time series
    Bartolo Luque, Lucas Lacasa, Jordi Luque, Fernando J. Ballesteros
    Physical Review E 80, 046103 (2009)

    [2] Time series irreversibility: a visibility graph approach
    Lucas Lacasa, Angel Nuñez, Edgar Roldán, Juan MR Parrondo, Bartolo Luque
    European Physical Journal B 85, 217 (2012)


  • Visibility and Directed Visibility graphs (Fortran 90/95)
    This code generates the adjacency matrix and the degree distributions of both VG and DVG associated to a series of arbitrary size. The execution time for noisy (stochastic/chaotic) series is O(N^2).
    If you use this code, please cite

    [1] From time series to complex networks: the visibility graph
    Lucas Lacasa, Bartolo Luque, Fernando Ballesteros, Jordi Luque, Juan C. Nuño
    PNAS, vol. 105, no. 13 (2008) 4972-4975

    [2] Time series irreversibility: a visibility graph approach
    Lucas Lacasa, Angel Nuñez, Edgar Roldán, Juan MR Parrondo, Bartolo Luque
    European Physical Journal B 85, 217 (2012)


  • Sequential visibility graph motifs (Matlab)
    Github repository elaborated by Jacopo Iacovacci This repository contains:
    1) 'HVG_motifs.m' a matlab function to extract the horizontal VG motif profile from a time series for motifs of size n=4.
    2) 'NVG_motifs.m' a matlab function to extract the natural VG motif profile from a time series for motifs of size n=4.

    If you use this code, please cite

    [1] Sequential visibility graph motifs
    Jacopo Iacovacci, Lucas Lacasa
    Physical Review E 93, 042309 (2016)

    [2] Sequential motif profile of natural visibility graphs
    Jacopo Iacovacci, Lucas Lacasa
    Physical Review E (in press 2016), arXiv:1605.02645





    Back to Home
    Previous page