In [1]:
import scipy.io
import numpy
import os
In [18]:
#8192
percorsoGrid = "/home/protoss/Documenti/TESI/thesis/codici/matlabbo/griglia8192Ecl.mat"
percorsoQuad = "/home/protoss/Documenti/TESI/thesis/codici/matlabbo/quad8192EclNew.mat"
griglia = scipy.io.loadmat(percorsoGrid)['grigliaEcl']
quadrato = scipy.io.loadmat(percorsoQuad)['quadratoEclNew']
gridLon = griglia[:,0]
gridLat = griglia[:,1]
quadLon = quadrato[:,0]
quadLat = quadrato[:,1]
from matplotlib import pyplot
%matplotlib notebook
pyplot.figure(figsize=(10, 7.5))
a = pyplot.scatter(gridLon,gridLat, s = 0.5)
b = pyplot.scatter(quadLon,quadLat, s = 0.5)
In [24]:
from matplotlib import pyplot
%matplotlib notebook
pyplot.figure(figsize=(4, 3))
a = pyplot.scatter(gridLon[numpy.where(numpy.abs(gridLat)<15)],gridLat[numpy.where(numpy.abs(gridLat)<15)], s = 5)
b = pyplot.scatter(quadLon,quadLat, s = 5)
In [14]:
#4096
percorsoGrid = "/home/protoss/Documenti/TESI/thesis/codici/matlabbo/griglia4096Ecl.mat"
percorsoQuad = "/home/protoss/Documenti/TESI/thesis/codici/matlabbo/quad4096EclNew.mat"
griglia = scipy.io.loadmat(percorsoGrid)['grigliaEcl']
quadrato = scipy.io.loadmat(percorsoQuad)['quadratoEclNew']
gridLon = griglia[:,0]
gridLat = griglia[:,1]
quadLon = quadrato[:,0]
quadLat = quadrato[:,1]
from matplotlib import pyplot
%matplotlib notebook
pyplot.figure(figsize=(10, 8))
a = pyplot.scatter(gridLon,gridLat, s = 0.5)
b = pyplot.scatter(quadLon,quadLat, s = 0.5)
In [17]:
from matplotlib import pyplot
%matplotlib notebook
pyplot.figure(figsize=(4, 3))
a = pyplot.scatter(gridLon[numpy.where(numpy.abs(gridLat)<15)],gridLat[numpy.where(numpy.abs(gridLat)<15)], s = 5)
b = pyplot.scatter(quadLon,quadLat, s = 5)
In [ ]: