summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp')
-rw-r--r--src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp b/src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
index 7aedfbb1..59f12a7d 100644
--- a/src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
+++ b/src/Persistence_representations/utilities/persistence_heat_maps/plot_persistence_heat_map.cpp
@@ -20,23 +20,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
#include <gudhi/Persistence_heat_maps.h>
-
-
using namespace Gudhi;
using namespace Gudhi::Persistence_representations;
#include <iostream>
#include <sstream>
-
-int main( int argc , char** argv )
-{
- std::cout << "This program plot persistence landscape stored in a file (the file needs to be created beforehand). Please call the code with the name of a landscape file \n";
- Persistence_heat_maps<constant_scaling_function> l;
- l.load_from_file( argv[1] );
- l.plot( argv[1] );
- return 0;
+int main(int argc, char** argv) {
+ std::cout << "This program plot persistence landscape stored in a file (the file needs to be created beforehand). "
+ "Please call the code with the name of a landscape file \n";
+ Persistence_heat_maps<constant_scaling_function> l;
+ l.load_from_file(argv[1]);
+ l.plot(argv[1]);
+ return 0;
}