##// END OF EJS Templates
Writing Unit for Madrigal decorated (just for python 2x)
Writing Unit for Madrigal decorated (just for python 2x)

File last commit:

r1205:45d75be01895
r1206:59caf7a2130e
Show More
mpldriver.py
499 lines | 13.4 KiB | text/x-python | PythonLexer
Juan C. Espinoza
Optionally load backend from environment variable
r1115 import os
Daniel Valdez
Adicion del factor de normalizacion en la clase Spectra....
r245 import sys
Juan C. Espinoza
Optionally load backend from environment variable
r1115 import datetime
import numpy
Daniel Valdez
Se agrega el folder "graphics" que contiene figure.py y mpldriver.py...
r190 import matplotlib
Miguel Valdez
Se modifico la forma de calcular la phase de la coherencia
r264
Juan C. Espinoza
Optionally load backend from environment variable
r1115 if 'BACKEND' in os.environ:
matplotlib.use(os.environ['BACKEND'])
elif 'linux' in sys.platform:
José Chávez
sin matplotlib de los modulos de claire
r1075 matplotlib.use("TkAgg")
Juan C. Espinoza
Optionally load backend from environment variable
r1115 elif 'darwin' in sys.platform:
matplotlib.use('TkAgg')
else:
from schainpy.utils import log
log.warning('Using default Backend="Agg"', 'INFO')
matplotlib.use('Agg')
José Chávez
sin matplotlib de los modulos de claire
r1075 # Qt4Agg', 'GTK', 'GTKAgg', 'ps', 'agg', 'cairo', 'MacOSX', 'GTKCairo', 'WXAgg', 'template', 'TkAgg', 'GTK3Cairo', 'GTK3Agg', 'svg', 'WebAgg', 'CocoaAgg', 'emf', 'gdk', 'WX'
Daniel Valdez
Se agrega el folder "graphics" que contiene figure.py y mpldriver.py...
r190 import matplotlib.pyplot
Miguel Valdez
Se modifico la forma de calcular la phase de la coherencia
r264 from mpl_toolkits.axes_grid1 import make_axes_locatable
Miguel Valdez
figure.py and mpldriver.py: Schain error replaced by ValueError
r696 from matplotlib.ticker import FuncFormatter, LinearLocator
Daniel Valdez
Adicion del metodo saveFigure() para guardar archivos de imagen de la clase Figure(). Se modifica los xaxis se muestran en formato datetime, falta hacer ajustes en los ticks de acuerdo al intervalo [xmin, xmax]
r209
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 ###########################################
José Chávez
sin matplotlib de los modulos de claire
r1075 # Actualizacion de las funciones del driver
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 ###########################################
Juan C. Valdez
change ylabel pad in polar plot
r873 # create jro colormap
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 jet_values = matplotlib.pyplot.get_cmap("jet", 100)(numpy.arange(100))[10:90]
José Chávez
sin matplotlib de los modulos de claire
r1075 blu_values = matplotlib.pyplot.get_cmap(
"seismic_r", 20)(numpy.arange(20))[10:15]
ncmap = matplotlib.colors.LinearSegmentedColormap.from_list(
"jro", numpy.vstack((blu_values, jet_values)))
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 matplotlib.pyplot.register_cmap(cmap=ncmap)
José Chávez
sin matplotlib de los modulos de claire
r1075
def createFigure(id, wintitle, width, height, facecolor="w", show=True, dpi=80):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 fig = matplotlib.pyplot.figure(num=id, facecolor=facecolor, figsize=(
1.0 * width / dpi, 1.0 * height / dpi))
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 fig.canvas.manager.set_window_title(wintitle)
Miguel Valdez
saving figures with the same scale than plots
r828 # fig.canvas.manager.resize(width, height)
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 matplotlib.pyplot.ion()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Se agrega parametro de entrada 'show', por defecto (True) muestra la figuras, caso contrario (False) matplotlib no muestra la figuras
r342 if show:
matplotlib.pyplot.show()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 return fig
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Signal Chain GUI updated:...
r587 def closeFigure(show=False, fig=None):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 # matplotlib.pyplot.ioff()
# matplotlib.pyplot.pause(0)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Se agrega parametro de entrada 'show', por defecto (True) muestra la figuras, caso contrario (False) matplotlib no muestra la figuras
r342 if show:
matplotlib.pyplot.show()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Signal Chain GUI updated:...
r587 if fig != None:
Miguel Valdez
pyplot.pause is not used anymore
r706 matplotlib.pyplot.close(fig)
# matplotlib.pyplot.pause(0)
Miguel Valdez
Version: 2.1.3.2...
r672 # matplotlib.pyplot.ion()
Miguel Valdez
pyplot.pause is not used anymore
r706
Miguel Valdez
Signal Chain GUI updated:...
r587 return
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Signal Chain GUI updated:...
r587 matplotlib.pyplot.close("all")
Miguel Valdez
pyplot.pause is not used anymore
r706 # matplotlib.pyplot.pause(0)
Miguel Valdez
Version: 2.1.3.2...
r672 # matplotlib.pyplot.ion()
Miguel Valdez
pyplot.pause is not used anymore
r706
Daniel Valdez
Adicion de la clase RTIPlot
r207 return
Miguel Valdez
Metodo destructor agregado a la clase Figure para desactivar el modo interactivo y mantener el gráfico.
r206
José Chávez
sin matplotlib de los modulos de claire
r1075
Daniel Valdez
Adicion del metodo saveFigure() para guardar archivos de imagen de la clase Figure(). Se modifica los xaxis se muestran en formato datetime, falta hacer ajustes en los ticks de acuerdo al intervalo [xmin, xmax]
r209 def saveFigure(fig, filename):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 # matplotlib.pyplot.ioff()
Miguel Valdez
saving figures with the same scale than plots
r828 fig.savefig(filename, dpi=matplotlib.pyplot.gcf().dpi)
Miguel Valdez
Version: 2.1.3.2...
r672 # matplotlib.pyplot.ion()
Daniel Valdez
Adicion del metodo saveFigure() para guardar archivos de imagen de la clase Figure(). Se modifica los xaxis se muestran en formato datetime, falta hacer ajustes en los ticks de acuerdo al intervalo [xmin, xmax]
r209
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Bug fixed plotting RTI, CoherenceMap, Noise and BeaconPhase: It were not working properly when xmin and xmax were defined and more than one day selected.
r760 def clearFigure(fig):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Bug fixed plotting RTI, CoherenceMap, Noise and BeaconPhase: It were not working properly when xmin and xmax were defined and more than one day selected.
r760 fig.clf()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 def setWinTitle(fig, title):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 fig.canvas.manager.set_window_title(title)
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 def setTitle(fig, title):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 fig.suptitle(title)
José Chávez
sin matplotlib de los modulos de claire
r1075
Julio Valdez
Processing Modules added:...
r502 def createAxes(fig, nrow, ncol, xpos, ypos, colspan, rowspan, polar=False):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ioff()
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 matplotlib.pyplot.figure(fig.number)
axes = matplotlib.pyplot.subplot2grid((nrow, ncol),
José Chávez
sin matplotlib de los modulos de claire
r1075 (xpos, ypos),
colspan=colspan,
rowspan=rowspan,
polar=polar)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ion()
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 return axes
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 def setAxesText(ax, text):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 ax.annotate(text,
José Chávez
sin matplotlib de los modulos de claire
r1075 xy=(.1, .99),
xycoords='figure fraction',
horizontalalignment='left',
verticalalignment='top',
fontsize=10)
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201
def printLabels(ax, xlabel, ylabel, title):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 ax.set_xlabel(xlabel, size=11)
ax.set_ylabel(ylabel, size=11)
Daniel Valdez
ProfileToChannels this is a new Operation to get data with dimensions [nchannels,nsamples]
r501 ax.set_title(title, size=8)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 def createPline(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='', title='',
ticksize=9, xtick_visible=True, ytick_visible=True,
nxticks=4, nyticks=10,
José Chávez
sin matplotlib de los modulos de claire
r1075 grid=None, color='blue'):
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 """
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 Input:
grid : None, 'both', 'x', 'y'
"""
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 ######################################################
José Chávez
sin matplotlib de los modulos de claire
r1075 if (xmax - xmin) <= 1:
xtickspos = numpy.linspace(xmin, xmax, nxticks)
xtickspos = numpy.array([float("%.1f" % i) for i in xtickspos])
Daniel Valdez
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico
r371 ax.set_xticks(xtickspos)
else:
José Chávez
sin matplotlib de los modulos de claire
r1075 xtickspos = numpy.arange(nxticks) * \
int((xmax - xmin) / (nxticks)) + int(xmin)
Daniel Valdez
Version para procesar Meteoros
r399 # xtickspos = numpy.arange(nxticks)*float(xmax-xmin)/float(nxticks) + int(xmin)
Daniel Valdez
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico
r371 ax.set_xticks(xtickspos)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico
r371 for tick in ax.get_xticklabels():
tick.set_visible(xtick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
En el metodo createPline se descomenta una seccion del codigo para configurar los xticks del grafico
r371 for tick in ax.xaxis.get_major_ticks():
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 tick.label.set_fontsize(ticksize)
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 ######################################################
for tick in ax.get_yticklabels():
tick.set_visible(ytick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 for tick in ax.yaxis.get_major_ticks():
tick.label.set_fontsize(ticksize)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
AMISR Reader integration with Signal Chain Blocks, this time just only for Voltages to Profile Selection and Plotting Scope(Power,IQ) and Power Profile(dB). There is thwo python scripts as experiment's test.
r474 ax.plot(x, y, color=color)
Miguel Valdez
Se mejora el metodo para grabar graficos de RTI y Spectra....
r212 iplot = ax.lines[-1]
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 ######################################################
Miguel Valdez
Se mejora el metodo para grabar graficos de RTI y Spectra....
r212 if '0.' in matplotlib.__version__[0:2]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Miguel Valdez
Se mejora el metodo para grabar graficos de RTI y Spectra....
r212 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Se mejora el metodo para grabar graficos de RTI y Spectra....
r212 if '1.0.' in matplotlib.__version__[0:4]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Miguel Valdez
Se mejora el metodo para grabar graficos de RTI y Spectra....
r212 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
-Se agrego el perfil de potencia al grafico de espectros
r204 if grid != None:
ax.grid(b=True, which='major', axis=grid)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 matplotlib.pyplot.tight_layout()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ion()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 return iplot
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 def set_linedata(ax, x, y, idline):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.lines[idline].set_data(x, y)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 def pline(iplot, x, y, xlabel='', ylabel='', title=''):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax = iplot.axes
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Se agrega el metodo deflip a jroprocessing.py....
r239 set_linedata(ax, x, y, idline=0)
José Chávez
sin matplotlib de los modulos de claire
r1075
Daniel Valdez
Se agrega el metodo deflip a jroprocessing.py....
r239 def addpline(ax, x, y, color, linestyle, lw):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.plot(x, y, color=color, linestyle=linestyle, lw=lw)
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244
def createPcolor(ax, x, y, z, xmin, xmax, ymin, ymax, zmin, zmax,
José Chávez
sin matplotlib de los modulos de claire
r1075 xlabel='', ylabel='', title='', ticksize=9,
colormap='jet', cblabel='', cbsize="5%",
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 XAxisAsTime=False):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 divider = make_axes_locatable(ax)
ax_cb = divider.new_horizontal(size=cbsize, pad=0.05)
fig = ax.get_figure()
fig.add_axes(ax_cb)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
z = numpy.ma.masked_invalid(z)
José Chávez
sin matplotlib de los modulos de claire
r1075 cmap = matplotlib.pyplot.get_cmap(colormap)
George Yong
Wind and rainfall processing of CLAIRE radar with V3.0
r1205 cmap.set_bad('white', 1.)
José Chávez
sin matplotlib de los modulos de claire
r1075 imesh = ax.pcolormesh(x, y, z.T, vmin=zmin, vmax=zmax, cmap=cmap)
cb = matplotlib.pyplot.colorbar(imesh, cax=ax_cb)
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 cb.set_label(cblabel)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 # for tl in ax_cb.get_yticklabels():
# tl.set_visible(True)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 for tick in ax.yaxis.get_major_ticks():
tick.label.set_fontsize(ticksize)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 for tick in ax.xaxis.get_major_ticks():
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 tick.label.set_fontsize(ticksize)
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 for tick in cb.ax.get_yticklabels():
tick.set_fontsize(ticksize)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 ax_cb.yaxis.tick_right()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 if '0.' in matplotlib.__version__[0:2]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 return imesh
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 if '1.0.' in matplotlib.__version__[0:4]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 return imesh
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.tight_layout()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 if XAxisAsTime:
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 def func(x, pos): return ('%s') % (
datetime.datetime.utcfromtimestamp(x).strftime("%H:%M:%S"))
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 ax.xaxis.set_major_formatter(FuncFormatter(func))
ax.xaxis.set_major_locator(LinearLocator(7))
Juan C. Valdez
change ylabel pad in polar plot
r873
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ion()
return imesh
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 def pcolor(imesh, z, xlabel='', ylabel='', title=''):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 z = z.T
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax = imesh.axes
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 printLabels(ax, xlabel, ylabel, title)
imesh.set_array(z.ravel())
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 def addpcolor(ax, x, y, z, zmin, zmax, xlabel='', ylabel='', title='', colormap='jet'):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
change ylabel pad in polar plot
r873
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.pcolormesh(x, y, z.T, vmin=zmin, vmax=zmax,
cmap=matplotlib.pyplot.get_cmap(colormap))
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Optimizacion de graficos con buffer, el buffer se crea en la clase Axes del modulo figure.py, se agrega el metodo pcolorbuffer....
r318 def addpcolorbuffer(ax, x, y, z, zmin, zmax, xlabel='', ylabel='', title='', colormap='jet'):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Optimizacion de graficos con buffer, el buffer se crea en la clase Axes del modulo figure.py, se agrega el metodo pcolorbuffer....
r318 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Optimizacion de graficos con buffer, el buffer se crea en la clase Axes del modulo figure.py, se agrega el metodo pcolorbuffer....
r318 ax.collections.remove(ax.collections[0])
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
z = numpy.ma.masked_invalid(z)
José Chávez
ningun cambio
r927
José Chávez
sin matplotlib de los modulos de claire
r1075 cmap = matplotlib.pyplot.get_cmap(colormap)
George Yong
Wind and rainfall processing of CLAIRE radar with V3.0
r1205 cmap.set_bad('white', 1.)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.pcolormesh(x, y, z.T, vmin=zmin, vmax=zmax, cmap=cmap)
José Chávez
ningun cambio
r927
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229
def createPmultiline(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='', title='', legendlabels=None,
José Chávez
sin matplotlib de los modulos de claire
r1075 ticksize=9, xtick_visible=True, ytick_visible=True,
nxticks=4, nyticks=10,
grid=None):
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 """
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 Input:
grid : None, 'both', 'x', 'y'
"""
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 lines = ax.plot(x.T, y)
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 leg = ax.legend(lines, legendlabels, loc='upper right')
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 leg.get_frame().set_alpha(0.5)
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 xtickspos = numpy.arange(nxticks) * \
int((xmax - xmin) / (nxticks)) + int(xmin)
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 ax.set_xticks(xtickspos)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 for tick in ax.get_xticklabels():
tick.set_visible(xtick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 for tick in ax.xaxis.get_major_ticks():
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 tick.label.set_fontsize(ticksize)
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 for tick in ax.get_yticklabels():
tick.set_visible(ytick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 for tick in ax.yaxis.get_major_ticks():
tick.label.set_fontsize(ticksize)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 iplot = ax.lines[-1]
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 if '0.' in matplotlib.__version__[0:2]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 if '1.0.' in matplotlib.__version__[0:4]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 if grid != None:
ax.grid(b=True, which='major', axis=grid)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 matplotlib.pyplot.tight_layout()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ion()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 return iplot
def pmultiline(iplot, x, y, xlabel='', ylabel='', title=''):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax = iplot.axes
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la clase ProfilePlot, CoherencePLot en el modulo jroplot.py...
r229 for i in range(len(ax.lines)):
line = ax.lines[i]
José Chávez
sin matplotlib de los modulos de claire
r1075 line.set_data(x[i, :], y)
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 def createPmultilineYAxis(ax, x, y, xmin, xmax, ymin, ymax, xlabel='', ylabel='', title='', legendlabels=None,
ticksize=9, xtick_visible=True, ytick_visible=True,
nxticks=4, nyticks=10, marker='.', markersize=10, linestyle="None",
grid=None, XAxisAsTime=False):
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 """
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 Input:
grid : None, 'both', 'x', 'y'
"""
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Modificaciones de graficos para SpectraHeis
r337 # lines = ax.plot(x, y.T, marker=marker,markersize=markersize,linestyle=linestyle)
Miguel Valdez
mpldriver updated
r767 lines = ax.plot(x, y.T)
Miguel Valdez
mpldriver: minor changes
r772 # leg = ax.legend(lines, legendlabels, loc=2, bbox_to_anchor=(1.01, 1.00), numpoints=1, handlelength=1.5, \
# handletextpad=0.5, borderpad=0.5, labelspacing=0.5, borderaxespad=0.)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
mpldriver: minor changes
r772 leg = ax.legend(lines, legendlabels,
Ivan Valdez
r791 loc='upper right', bbox_to_anchor=(1.16, 1), borderaxespad=0)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 for label in leg.get_texts():
label.set_fontsize(9)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 # xtickspos = numpy.arange(nxticks)*int((xmax-xmin)/(nxticks)) + int(xmin)
# ax.set_xticks(xtickspos)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 for tick in ax.get_xticklabels():
tick.set_visible(xtick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 for tick in ax.xaxis.get_major_ticks():
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858 tick.label.set_fontsize(ticksize)
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 for tick in ax.get_yticklabels():
tick.set_visible(ytick_visible)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 for tick in ax.yaxis.get_major_ticks():
tick.label.set_fontsize(ticksize)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 iplot = ax.lines[-1]
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 if '0.' in matplotlib.__version__[0:2]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 if '1.0.' in matplotlib.__version__[0:4]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 if grid != None:
ax.grid(b=True, which='major', axis=grid)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 matplotlib.pyplot.tight_layout()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 if XAxisAsTime:
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 def func(x, pos): return ('%s') % (
datetime.datetime.utcfromtimestamp(x).strftime("%H:%M:%S"))
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 ax.xaxis.set_major_formatter(FuncFormatter(func))
ax.xaxis.set_major_locator(LinearLocator(7))
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Optimizacion del driver para matplotlib. Activacion y descativacion del modo interactivo al crear figures y axes
r244 matplotlib.pyplot.ion()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 return iplot
José Chávez
sin matplotlib de los modulos de claire
r1075
Daniel Valdez
se termina la clase RTIfromNoise para ploteo RTI del Ruido.
r246 def pmultilineyaxis(iplot, x, y, xlabel='', ylabel='', title=''):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax = iplot.axes
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Adicion de la carpeta test donde se encuentra la aplicacion de prueba para los experimentos EWDrifts y Faraday...
r240 for i in range(len(ax.lines)):
line = ax.lines[i]
José Chávez
sin matplotlib de los modulos de claire
r1075 line.set_data(x, y[i, :])
Julio Valdez
Processing Modules added:...
r502
def createPolar(ax, x, y,
José Chávez
sin matplotlib de los modulos de claire
r1075 xlabel='', ylabel='', title='', ticksize=9,
colormap='jet', cblabel='', cbsize="5%",
XAxisAsTime=False):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 matplotlib.pyplot.ioff()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.plot(x, y, 'bo', markersize=5)
Julio Valdez
Processing Modules added:...
r502 # ax.set_rmax(90)
José Chávez
sin matplotlib de los modulos de claire
r1075 ax.set_ylim(0, 90)
ax.set_yticks(numpy.arange(0, 90, 20))
Julio Valdez
data...
r608 # ax.text(0, -110, ylabel, rotation='vertical', va ='center', ha = 'center' ,size='11')
# ax.text(0, 50, ylabel, rotation='vertical', va ='center', ha = 'left' ,size='11')
Julio Valdez
Processing Modules added:...
r502 # ax.text(100, 100, 'example', ha='left', va='center', rotation='vertical')
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax.yaxis.labelpad = 40
Julio Valdez
data...
r608 printLabels(ax, xlabel, ylabel, title)
Julio Valdez
Processing Modules added:...
r502 iplot = ax.lines[-1]
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 if '0.' in matplotlib.__version__[0:2]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Julio Valdez
Processing Modules added:...
r502 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 if '1.0.' in matplotlib.__version__[0:4]:
George Yong
Python 2to3, Spectra (all operations) working
r1167 print("The matplotlib version has to be updated to 1.1 or newer")
Julio Valdez
Processing Modules added:...
r502 return iplot
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 # if grid != None:
# ax.grid(b=True, which='major', axis=grid)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 matplotlib.pyplot.tight_layout()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 matplotlib.pyplot.ion()
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 return iplot
José Chávez
sin matplotlib de los modulos de claire
r1075
Julio Valdez
Processing Modules added:...
r502 def polar(iplot, x, y, xlabel='', ylabel='', title=''):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Juan C. Valdez
replace method get_axes() by axes property (deprecation warning)
r879 ax = iplot.axes
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 # ax.text(0, -110, ylabel, rotation='vertical', va ='center', ha = 'center',size='11')
Julio Valdez
data...
r608 printLabels(ax, xlabel, ylabel, title)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Julio Valdez
Processing Modules added:...
r502 set_linedata(ax, x, y, idline=0)
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 def draw(fig):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Miguel Valdez
Testeado con datos de Imagenes (Espectros)...
r201 if type(fig) == 'int':
George Yong
Python 2to3, Spectra (all operations) working
r1167 raise ValueError("Error drawing: Fig parameter should be a matplotlib figure object figure")
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
Daniel Valdez
Optimizacion de Salvado de Spectros...
r404 fig.canvas.draw()
Miguel Valdez
Signal Chain GUI: pause added to every plot routine
r617
José Chávez
sin matplotlib de los modulos de claire
r1075
Miguel Valdez
Signal Chain GUI: pause added to every plot routine
r617 def pause(interval=0.000001):
Juan C. Valdez
Add colormap parameter for spectra and RTI, create jro colormap, plot masked arrays
r858
George Yong
Python 2to3, Spectra (all operations) working
r1167 matplotlib.pyplot.pause(interval)