Skip to content

brunaostii/graph_plot_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph's Plot Library

This library generates a figure through an adjacency matrix, this being only a plot, or counting on: 2, 3, 4 or 6 subplots in the same figure.

You can import through the code below:

from Graph import Adjacency

First, we must send to the object the number of vertices we will use, as in the example below:

Object = Adjacency(qt_nodes)

The next step is to choose the amount of subplots in the figure, the library suports 1, 2, 3, 4, or 6 subplots in the same figure.Where, the signatures of the methods will always have the structure below:

Object.Plot_Graph1(adjacency_matrix, 'title')

The only thing that changes is that in the signature of the method the number changes according to quantity.

Obs: The *title* it's not mandatory. For example, for the 2's plot:

Object.Plot_Graph2(adjacency_matrix1, adjacency_matrix2, 'title1', 'title2')

FIGURES:

  • 2's Plot: PLOT 2

  • 3's Plot: PLOT 3



Author:

  • Bruna Almeida Osti

About

Generates a figure through an adjacency matrix

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages