vcs
vcs copied to clipboard
Visualization Control System
```python vcs.colors.matplotlib2vcs(cmap, vcs_name=None) ``` https://uvcdat.llnl.gov/docs/vcs/misc/colors.html When converting matplotlib colormap to VCS, by default ```vcs_name``` becomes same as the matplotlib colormap, or you can assign your own name. But if the...
```python import vcs import cdms2 import cdat_info import sys if len(sys.argv)>1: N = int(sys.argv[1]) else: N = 120 def myplot(index): f=cdms2.open(cdat_info.get_sampledata_path()+"/clt.nc") s=f["clt"][index % 120] gm = vcs.createisofill() gm2 = vcs.createisoline()...
The docstring for `vcs.colormap.Cp.setcolorcell()` and other related methods needs to be updated. The RGB values need to be between 0-100, not 0-255. ``` In [3]: c.setcolorcell? Signature: c.setcolorcell(index, red, green,...
When you see colorbar at range of [-10, 0] and [0, 10], you will see both colors are same. It looks like colors are somehow shifted by using 16, 240...
* Wondering if there is an option for modify position of UVCDAT logo. * Also wondering if I can add more than one logos on VCS, loading from image file...
The ends of each segment seem to be a parallelogram rather than a rectange. Also look into how to make a thick multi-line plot look better. Check OpenGL vs OpenGL2...
This line isn't shown, but the markers are. Look at the black line in the image below. 
vtkWindowToImageFilter which is used in png() to get an image from the window supports a parameter int magnification which allows the user to save a larger image than the window...
At least on mac ```python import vcs x=vcs.init() x.plot(s,"default","isoline","default") x.png("iso") x=vcs.init() x.plot(s,"default","isofill","default") ``` Leaves unaccessible window opened, as shown in png bellow: