Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_additional/web.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_additional/web.py	(revision 1062)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_additional/web.py	(revision 1062)
@@ -0,0 +1,41 @@
+#! /usr/bin/env python
+from ppclass import pp
+
+# define object
+p = pp()
+
+# define file, variable, slice
+p.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc"
+p.var = "icetot"
+p.t = 0.5
+
+# get field. convert from kg m-2 to pr_mic
+p.get()
+p = 1000.*p
+
+# customize plot
+# -- map projection, background image
+p.proj = "robin"
+p.back = "vishires"
+p.trans = 0.5
+# -- title, colorbar
+p.title = 'Water ice clouds on Mars'
+p.units = "pr-$\mu$m"
+p.colorbar = "spectral"
+p.vmin = 0.
+p.vmax = 8.
+p.div = 32
+p.fmt = '%.1f'
+# -- save info
+p.filename = "weblowres"
+p.includedate = False
+p.out = "png"
+p.res = 30
+
+# generate plot
+p.plot()
+
+# generate a higher resolution version
+p.filename = "webhires"
+p.res = 150
+p.plot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/anomaly.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/anomaly.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/anomaly.py	(revision 1062)
@@ -18,6 +18,5 @@
 anomaly = ((simple-mean)/mean)*100.
 anomaly.filename = "anomaly"
-anomaly.defineplot()
-anomaly.p[0].title = "surface temperature anomaly"
-anomaly.p[0].units = '%'
-anomaly.makeplot()
+anomaly.title = "surface temperature anomaly"
+anomaly.units = '%'
+anomaly.plot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/les_psfc.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/les_psfc.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/les_psfc.py	(revision 1062)
@@ -17,3 +17,6 @@
 #les.stridey = 3
 les.filename = "les_psfc"
+
 les.getplot()
+
+
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/simple.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/simple.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/simple.py	(revision 1062)
@@ -19,6 +19,6 @@
 # we define the plot, then set a few personal stuff
 u.defineplot() 
-u.p[0].title = "This is what we name $u$"
-u.p[0].proj = "robin"
+u.title = "This is what we name $u$"
+u.proj = "robin"
 u.filename = "simple"
 
@@ -28,5 +28,5 @@
 # we simply change the colorbar
 # ... no need to reload data
-u.p[0].colorbar = "RdBu"
+u.colorbar = "RdBu"
 u.filename = "myplot"
 u.makeplot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/tide.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/tide.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/tide.py	(revision 1062)
@@ -11,4 +11,5 @@
 waveref.title = "$p_s$ diurnal anomaly"
 waveref.proj = "moll"
+
 waveref.vmin = -10
 waveref.vmax = 10
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/vector.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/vector.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/vector.py	(revision 1062)
@@ -24,14 +24,11 @@
 u.getplot()
 
-
-
 u.z = "50"
 u.filename = "myplot"
 u.getplot()
 
-
-u.p[0].colorbar = "jet"
-u.p[0].trans = 0.0
-u.p[0].back = "vis"
+u.colorbar = "jet"
+u.trans = 0.0
+u.back = "vis"
 
 u.makeplot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalcontour.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalcontour.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalcontour.py	(revision 1062)
@@ -11,8 +11,7 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
-u.p[0].colorbar = "spectral"
+u.div = 30.
+u.colorbar = "spectral"
 u.makeplot()
-
 
 u.var = ["u","u"]
@@ -20,4 +19,4 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
+u.div = 30.
 u.makeplot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalmean.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalmean.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_reference/zonalmean.py	(revision 1062)
@@ -11,5 +11,5 @@
 temp.get()
 temp.defineplot()
-temp.p[0].title = "This is an averaged temperature profile"
+temp.title = "This is an averaged temperature profile"
 temp.makeplot()
 
@@ -24,7 +24,7 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
-u.p[0].colorbar = "RdBu_r"
-u.p[0].title = "This is a zonal mean"
+u.div = 30.
+u.colorbar = "RdBu_r"
+u.title = "This is a zonal mean"
 u.makeplot()
 
@@ -34,7 +34,7 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
-u.p[0].colorbar = "cool"
-u.p[0].title = "This is minimum over zonal axis"
+u.div = 30.
+u.colorbar = "cool"
+u.title = "This is minimum over zonal axis"
 u.makeplot()
 
@@ -44,7 +44,7 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
-u.p[0].colorbar = "hot"
-u.p[0].title = "This is maximum over zonal axis"
+u.div = 30.
+u.colorbar = "hot"
+u.title = "This is maximum over zonal axis"
 u.makeplot()
 
@@ -57,5 +57,8 @@
 u.get()
 u.defineplot()
-u.p[0].div = 30.
-u.p[0].title = "This is maximum over time"
+u.div = 30.
+u.title = "This is maximum over time"
+
+u.out = "png"
+
 u.makeplot()
Index: /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppplot/plot_sounding.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppplot/plot_sounding.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/examples/ppplot/plot_sounding.py	(revision 1062)
@@ -25,3 +25,6 @@
 sdg.makeshow()
 
+sdg.make()
+ppplot.save(mode="png",filename="plot",res=50,includedate=False)
 
+
Index: /trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/ppclass.py	(revision 1062)
@@ -173,4 +173,6 @@
                       xp=16,yp=8,\
                       missing=1.e25,\
+                      trans=None,back=None,\
+                      showcb=None,\
                       title=None):
         self.request = None
@@ -231,4 +233,6 @@
         self.nxticks = nxticks ; self.nyticks = nyticks
         self.fmt = fmt
+        self.trans = trans ; self.back = back
+        self.showcb = showcb
 
     # print status
@@ -291,4 +295,6 @@
             self.nxticks = other.nxticks ; self.nyticks = other.nyticks
             self.fmt = other.fmt
+            self.trans = other.trans ; self.back = other.back
+            self.showcb = other.showcb
         else:
             print "!! ERROR !! argument must be a pp object." ; exit()
@@ -835,4 +841,5 @@
                     if self.nyticks is not None: plobj.nyticks = self.nyticks
                     if self.fmt is not None: plobj.fmt = self.fmt
+                    if self.showcb is not None: plobj.showcb = self.showcb
                     # -- 1D specific
                     if dp == 1:
@@ -846,4 +853,6 @@
                         if self.vmin is not None: plobj.vmin = self.vmin
                         if self.vmax is not None: plobj.vmax = self.vmax
+                        if self.trans is not None: plobj.trans = self.trans
+			if self.back is not None: plobj.back = self.back
                         plobj.svx = self.svx
                         plobj.svy = self.svy
Index: /trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
===================================================================
--- /trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py	(revision 1061)
+++ /trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py	(revision 1062)
@@ -44,4 +44,5 @@
 ccol = 'black'
 cline = 0.55
+cline = 0.8
 # (vectors)
 widthvec = 0.002
@@ -746,5 +747,6 @@
                 wlat[0] = None ; wlat[1] = None ; wlon[0] = None ; wlon[1] = None
                 steplon = 30. ; steplat = 30.
-                if self.proj in ["robin","moll"]: steplon = 60.
+                if self.proj in ["moll"]: steplon = 60.
+                if self.proj in ["robin"]: steplon = 90.
                 mertab = np.r_[-360.:360.:steplon]
                 partab = np.r_[-90.:90.:steplat]
@@ -816,5 +818,5 @@
                             zelevelsc, colors = ccol, linewidths = cline)
                 #mpl.clabel(objC2, inline=1, fontsize=10,manual=True,fmt='-%2.0f$^{\circ}$C',colors='r')
-            m.contourf(x, y, what_I_plot, zelevels, cmap = palette, alpha = self.trans)
+            m.contourf(x, y, what_I_plot, zelevels, cmap = palette, alpha = self.trans, antialiased=True)
         ############################################################################################
         ### COLORBAR
