vcs
vcs copied to clipboard
Visualization Control System
When doing `canvas.plot()` using `ratio="autot"` and `canvas.interact()`, the longitude values given by the interaction popups are increasingly erroneous as you move away from center (longitude = 0) of the plot....
```python p = vcs.createprojection() p.type="polar" p.list() ``` ``` ---------- Projection (Proj) member (attribute) listings ---------- ('secondary method =', 'Proj') ('name =', '__projection_430123113927722') ('type =', 'polar stereographic') ('smajor', '=', 1e+20) ('sminor',...
@doutriaux1 Watching the colorbar of #339 has reminded me of a question I got a few years back. Is there a way to ask vcs to draw the labels alternatively...
They include black areas or two layers of cells. See the following examples (clicking on edit shows the test name)  
Here is a short script to reproduce: python ``` import vcs, cdms2, os vcs.download_sample_data_files() # offscreen mode bg = 1 modeStr = 'offscreen' if bg is 1 else 'onscreen' #...
markers size and aspect shouldn't depend on worldcoordinate ```python import vcs x=vcs.init(bg=True,geometry=(800,600)) m = vcs.createmarker() m.viewport=[0,1,0.5,1] m.type = "hurricane" m.x = [0.5] m.y = [.5] x.plot(m) m = vcs.createmarker() m.type...
I've encountered a nasty error that occurs when target directories do not have execute permissions for the user. The code below will replicate the issue: ```python import os,vcs,shutil,stat import numpy...
I've just tried to plot up a variable using `vcs` and it appears to fall over with the longitude values which extend from ```python Out[13]: array([ 0.5, 1.5, 2.5, 3.5,...
Using the code example in #266 I have been trying to generate clean `*.png` output, however it seems that antialiasing is not working for this output format. Example output seems...
The following code leads to plot titles and axis labels falling off the canvas: ```python x = vcs.init(bg=True,geometry=(1500,1500)) for anti in [1,8,64]: x.setantialiasing(anti) x.plot([1,3,5,7,10,24,36,3,6,8,9,10]) x.png('_'.join([timeFormat,'antiAliasing',str(anti),'.png'])) x.pdf('_'.join([timeFormat,'antiAliasing',str(anti),'.pdf'])) x.clear() ``` See image...