Coder Social home page Coder Social logo

sciapp / gr Goto Github PK

View Code? Open in Web Editor NEW
328.0 328.0 54.0 52.97 MB

GR framework: a graphics library for visualisation applications

License: Other

C++ 25.61% QMake 0.06% Makefile 0.78% C 66.13% Shell 0.45% Python 0.72% Fortran 0.08% OpenEdge ABL 0.10% Pascal 0.21% Objective-C 1.47% JavaScript 1.57% HTML 0.08% Swift 0.32% Module Management System 0.02% Roff 0.14% CMake 1.91% Yacc 0.35% Batchfile 0.01%

gr's People

Contributors

birkenfeld avatar bkmgit avatar bpedersen2 avatar cfelder avatar danielkaiser avatar florianrhiem avatar gereonv avatar ingomeyer441 avatar jheinen avatar jonasclever avatar jonasritz avatar kojix2 avatar kou avatar maltedeckers avatar mheuwes avatar mkitti avatar o01eg avatar paveloom avatar seekingmeaning avatar t-bltg avatar tverbov avatar user-1236 avatar v0dro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr's Issues

cannot install on os x

hi, i tried two methods as described on the home page:

conda install gr works but installs the old version 0.18. i then uninstalled that again.
conda --version gives 4.3.25.

pip install gr. my pip is the one from anaconda since the paths are set up that way. however, this installation fails during build. here is a snippet of the output:

gcc -fno-strict-aliasing -I/Users/nbecker/Apps/anaconda/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -UHAVE_ZLIB -DGRDIR="lib/python2.7/site-packages/gr" -DNO_MUPDF=1 -I/usr/X11/include -I3rdparty/zlib -I/Users/nbecker/Apps/anaconda/include/python2.7 -c lib/gks/x11.c -o build/temp.macosx-10.6-x86_64-2.7/lib/gks/x11.o -I/Users/nbecker/Apps/anaconda/include/freetype2 -mmacosx-version-min=10.7
    In file included from lib/gks/x11.c:40:
    /usr/X11/include/X11/Intrinsic.h:1855:3: error: expected function body after function declarator
    ) _X_ATTRIBUTE_PRINTF(2,3);

and the output ends with

Command "/Users/nbecker/Apps/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/bh/0mc1q9cn5ps48h60dygx_lhm00011n/T/pip-build-BSmWgo/gr/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/bh/0mc1q9cn5ps48h60dygx_lhm00011n/T/pip-oU6sX6-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/bh/0mc1q9cn5ps48h60dygx_lhm00011n/T/pip-build-BSmWgo/gr/

my gcc is this:

gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

how can i install a recent version of gr on a current os x system?

Qt widget with matplotlib API

gr can currently be used as a matplotlib backend and as a Qt widget, but could it be possible to use both simultaneously? Namely, have a Qt widget (say, of MatplotlibGRWidget class), which would have a .figure attribute, that would be a matplotlib.figure.Figure.

Latest GR conda package for Linux is missing

I just checked in https://anaconda.org/jheinen/gr/files and saw that the latest conda package for GR is 0.15.1. It's not a big deal since the recipe is in the repository and I can build it myself, but leaving the note here still.

(By the way, I didn't see a changelog and the versions are not tagged in git - so while I feel like using the latest version, I don't really know what the improvements are)

grid lines

i would like to draw a rectangular grid of lines in the xy-plane with gr3. so far i could not make it work. i tried something like this:

self.mesh = gr3.createsurfacemesh(
                self.segments[0], self.segments[1], 
                xs, ys, zs,
                option=0 * gr3.GR3_SurfaceOption.GR3_SURFACE_FLAT)

and then

gr3.drawsurface(self.mesh)

but this made the entire viewport white.

follow-up: how to draw a cuboid - line grid in 3d?

can not run qt examples

Dear,
I have installed gr on linux and mac os using conda install and am getting the following error when trying to run the qt examples (mri.py or qtgrdemo.py):

GKS: dlopen(/users/joao/local/conda/envs/sorting/lib/python2.7/site-packages/gr/lib/qtplugin.so, 1): image not found

Is it not configured for using qt when installing from conda?
Is there an example for compiling from source it with qt?

Thanks in advance, Joao

ambient lighting

is it possible to create a more diffuse lighting style? in the api it seems there is only a specular light with a prescribed direction?

Import fails, installing using `conda install`

I installed gr using conda install -c https://conda.binstar.org/jheinen gr.
I use Anaconda Python installed in the locaiton /Users/allan/homeInstalled/anaconda/, but since I use virtualenv, I guess gr is installed somewhere in /Users/allan/homeInstalled/anaconda/envs/py27/

I get the following error when I import gr in python:

In [1]: import gr
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-1-5ea0aa17dde2> in <module>()
----> 1 import gr

/Users/allan/homeInstalled/anaconda/envs/py27/lib/python2.7/site-packages/gr/__init__.py in <module>()
   2025 if platform == "win32":
   2026     os.environ["PATH"] = os.getenv("PATH", "") + ";" + _grLibDir
-> 2027 __gr = CDLL(_grLib)
   2028 
   2029 __gr.gr_opengks.argtypes = []

/Users/allan/homeInstalled/anaconda/envs/py27/python.app/Contents/lib/python2.7/ctypes/__init__.pyc in __init__(self, name, mode, handle, use_errno, use_last_error)
    363 
    364         if handle is None:
--> 365             self._handle = _dlopen(self._name, mode)
    366         else:
    367             self._handle = handle

OSError: dlopen(/Users/allan/homeInstalled/anaconda/envs/py27/lib/python2.7/site-packages/gr/libGR.so, 6): Library not loaded: libopenjp2.7.dylib
  Referenced from: /Users/allan/homeInstalled/anaconda/envs/py27/lib/python2.7/site-packages/gr/libGR.so
  Reason: image not found

DOC: gr.herrorbars, gr.verrorbars wrong documentation for e1, e2

The parameters e1, e2 do not define the absolute deviation at a given point (px, py).

  • We assume we have a given point (px, py).
  • and the absolute deviation at a give point in negative and positive direction (dneg, dpos).

Then e1, e2 defines the following:
gr.verrorbars:
e1 = py - dneg
e2 = py + dpos
gr.herrorbars:
e1 = px - dneg
e2 = px + dpos

We should fix the documentation for both.

pip3 install gr results in error

When building under python3.3 - libraries can't be found in final link. The reason is - in my environment cython built files have SOABI extension like this - ./build/lib.linux-i686-3.3/gr/libGKS.cpython-33m.so

Here is the patch to fix this issue:

diff --git a/setup.py b/setup.py
index 2ab1d5a..d970e96 100755
--- a/setup.py
+++ b/setup.py
@@ -1188,7 +1188,7 @@ int main()
             lib.append(_build_lib_grpkg)
             lib.append(_build_3rdparty)
             if self.isLinuxOrDarwin:
-                libs = ["GKS"]
+                libs=[self.get_ext_filename('GKS').replace(get_config_var("SO"),'')]
             else:
                 libs = ["libGKS"]
                 lib.append(os.path.join(_build_temp, "Release", "lib", "gks"))
@@ -1235,7 +1235,7 @@ int main()
                 staticlibs = [_libpng, _libjpeg, _libz]
                 ldflags.extend(staticlibs)
                 if self.isLinuxOrDarwin:
-                    libs.append("GR")
+                    libs.append(self.get_ext_filename('GR').replace(get_config_var("SO"),''))
                 if self.isDarwin:
                     ldflags.append("-Wl,-install_name,@rpath/libGR3.so")
                     ldflags.append("-Wl,-rpath,@loader_path/../gr/.")

please check against mpl master

We are in the process of wrapping up matplotlib v1.5.

One of the major new features is, when in interactive mode, changing the state of Artist objects will trigger a re-draw of the figure. This relies heavily on the backends to have implemented draw_idle (which from quickly skimming https://github.com/jheinen/gr/blob/master/lib/gr/python/gr/matplotlib/backend_gr.py it looks like you do not implement and I don't know enough about the details of gr to your implementation of draw is lazy or not) to correctly defer actually re-drawing until the screen is ready for an update.

I only became aware of gr about 15 minutes ago, but it looks very interesting. If you would like, could you add a blurb to the mpl docs that this exists (maybe in http://matplotlib.org/devdocs/mpl_toolkits/index.html grouped in a new heading with the iTerm backend?) ?

I would definitely be interested in working together on the mpl backend, please be in touch!

gr as backend for matplotlib: Can I save images as png?

Hi,

I am new to GR. I read on the GR homepage: "... GR can be used as a backend for Matplotlib and significantly improve the performance of existing Matplotlib or PyPlot applications...".
Can I use the GR backend to write a png (without using pyplot)?
How?
Will this be faster than using the agg backend?

I experimented with the sine example form the homepage. If I use it with plt.show(), using the gr backend is about 1.5 times faster than using the tkagg backend.
If I naivly replace plt.show() by plt.savefig("test.png") the gr backend is slower than the agg backend.
If I have a closer look at what functions are called, I realize that no matter what backend I specify always the file backend_agg.py is used, if I want to save a png.

Thanks
Martina

cellarray gets slow/crashes when zooming in

When zooming into images drawn with cellarray, it appears that the whole zoomed-in image is drawn even if only a small part of it is visible within the bounds of the window.

For example, this display of a 64x64 cellarray crashes (X11 terminal):

import gr
import numpy as np
gr.setviewport(.1, .9, .1, .9)
gr.setwindow(0, 2, 0, 2)
N = 64
a = np.arange(N*N)
gr.cellarray(0, N, 0, N, N, N, a)

In Qt, there is no crash but the drawing becomes slower and slower, and at one point Qt warning messages of the form "QImage::setPixel: coordinate (67671,5) out of range" are emitted for each pixel.

how do I get a working C development environment

Using Ubuntu.
Installed python-gr to obtain code - no clear way to get C stuff without python or julia.
Built griddata example: cc griddata.c -I/usr/local/gr/include -L/usr/local/gr/lib -lGR -lm -o griddata
Added: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/gr/lib
Did a symbolic link to fix missing fonts error: sudo ln -s /usr/local/gr /opt/gr
Finally get the message: GKS: X11 support not compiled in

How can I get the C use of GR working - is there a doc somewhere?

PNG output in C/C++

I am unable to get PNG output when using gr in C++. PDF output works fine, but something seems to be silently failing when using a png file extension. The same code translated to python works just fine, and outputs to PNG correctly. I have checked, and both the C++ code and python are using the same installation of gr, built from source. For reference I am using beginprint and endprint, and the C++ executable successfully outputs a PDF when the pathname is set to have a .PDF extension. I have had little luck trying to figure out the cause as the program still completes, and the GKS window does flash, but no png file is written at the end. The program then exits with error code 0

axes labels?

i see titles3d, but how does one create labels for 2D plots? for example,

julia> using GR
julia> GR.plot(1:10.,1:10.)

then what? thanks.

corrupted double-linked list

For a lot of the examples I get the error: corrupted double-linked list
After running it two or three times. This is what I get for pendulum3.py (http://gr-framework.org/examples/pendulum3.html)

/usr/bin/python test.py                                                                           
*** Error in `/usr/bin/python': corrupted double-linked list: 0x0000000002e85750 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f08ae4797e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7e6f8)[0x7f08ae4806f8]
/lib/x86_64-linux-gnu/libc.so.6(+0x813be)[0x7f08ae4833be]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f08ae4855d4]
/usr/lib/x86_64-linux-gnu/libXft.so.2(XftFontOpenInfo+0x304)[0x7f08a914b2b4]
/usr/lib/x86_64-linux-gnu/libXft.so.2(XftFontOpenPattern+0x2a)[0x7f08a914c26a]
/usr/lib/x86_64-linux-gnu/libXft.so.2(XftFontOpenXlfd+0x73)[0x7f08a914a773]
/usr/lib/python2.7/dist-packages/gr/libGKS.so(+0x32bb0)[0x7f08a95cabb0]
/usr/lib/python2.7/dist-packages/gr/libGKS.so(+0x32f22)[0x7f08a95caf22]
/usr/lib/python2.7/dist-packages/gr/libGKS.so(gks_drv_x11+0x1d53)[0x7f08a95d5013]
/usr/lib/python2.7/dist-packages/gr/libGKS.so(+0x13abf)[0x7f08a95ababf]
/usr/lib/python2.7/dist-packages/gr/libGKS.so(gks_open_ws+0x236)[0x7f08a95ac6b6]
/usr/lib/python2.7/dist-packages/gr/libGR.so(+0x53e07)[0x7f08a98d2e07]
/usr/lib/python2.7/dist-packages/gr/libGR.so(gr_clearws+0xa5)[0x7f08a98d4cc5]
/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c)[0x7f08ac963e40]
/usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2eb)[0x7f08ac9638ab]
/usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48f)[0x7f08acb733df]
/usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x11d82)[0x7f08acb77d82]
/usr/bin/python(PyObject_Call+0x43)[0x4b0cb3]
/usr/bin/python(PyEval_EvalFrameEx+0x5faf)[0x4c9faf]
/usr/bin/python(PyEval_EvalFrameEx+0x5d8f)[0x4c9d8f]
/usr/bin/python(PyEval_EvalFrameEx+0x5d8f)[0x4c9d8f]
/usr/bin/python(PyEval_EvalCodeEx+0x255)[0x4c2765]
/usr/bin/python(PyEval_EvalCode+0x19)[0x4c2509]
/usr/bin/python[0x4f1def]
/usr/bin/python(PyRun_FileExFlags+0x82)[0x4ec652]
/usr/bin/python(PyRun_SimpleFileExFlags+0x191)[0x4eae31]
/usr/bin/python(Py_Main+0x68a)[0x49e14a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f08ae422830]
/usr/bin/python(_start+0x29)[0x49d9d9]
======= Memory map: ========
00400000-006ea000 r-xp 00000000 08:01 9438764                            /usr/bin/python2.7
008e9000-008eb000 r--p 002e9000 08:01 9438764                            /usr/bin/python2.7
008eb000-00962000 rw-p 002eb000 08:01 9438764                            /usr/bin/python2.7
00962000-00985000 rw-p 00000000 00:00 0 
02214000-030a2000 rw-p 00000000 00:00 0                                  [heap]
7f089c000000-7f089c021000 rw-p 00000000 00:00 0 
7f089c021000-7f08a0000000 ---p 00000000 00:00 0 
7f08a2670000-7f08a2671000 rw-p 00000000 00:00 0 
7f08a2671000-7f08a267c000 r--s 00000000 08:01 8650860                    /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-6
7f08a267c000-7f08a267e000 r--s 00000000 08:01 8650862                    /var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-le64.cache-6
7f08a267e000-7f08a2684000 r--s 00000000 08:01 8650830                    /var/cache/fontconfig/2cd17615ca594fa2959ae173292e504c-le64.cache-6
7f08a2684000-7f08a2685000 r--s 00000000 08:01 8650823                    /var/cache/fontconfig/0d8c3b2ac0904cb8a57a757ad11a4a08-le64.cache-6
7f08a2685000-7f08a269a000 r--s 00000000 08:01 8650820                    /var/cache/fontconfig/04aabc0a78ac019cf9454389977116d2-le64.cache-6
7f08a269a000-7f08a269b000 r--s 00000000 08:01 8650827                    /var/cache/fontconfig/1ac9eb803944fde146138c791f5cc56a-le64.cache-6
7f08a269b000-7f08a269f000 r--s 00000000 08:01 8650835                    /var/cache/fontconfig/385c0604a188198f04d133e54aba7fe7-le64.cache-6
7f08a269f000-7f08a26a0000 r--s 00000000 08:01 8650881                    /var/cache/fontconfig/dc05db6664285cc2f12bf69c139ae4c3-le64.cache-6
7f08a26a0000-7f08a26a2000 r--s 00000000 08:01 8650824                    /var/cache/fontconfig/14a5e22175779b556eaa434240950366-le64.cache-6
7f08a26a2000-7f08a26a3000 r--s 00000000 08:01 8650851                    /var/cache/fontconfig/660208299946a285a940457d1287da33-le64.cache-6
7f08a26a3000-7f08a26a5000 r--s 00000000 08:01 8650842                    /var/cache/fontconfig/4f3e3037c9980c83b53a9351efadef62-le64.cache-6
7f08a26a5000-7f08a26a8000 r--s 00000000 08:01 8650856                    /var/cache/fontconfig/767a8244fc0220cfb567a839d0392e0b-le64.cache-6
7f08a26a8000-7f08a26aa000 r--s 00000000 08:01 8650853                    /var/cache/fontconfig/69fb4bbe1b2fa860e172a32ebf28505c-le64.cache-6
7f08a26aa000-7f08a26ab000 r--s 00000000 08:01 8650874                    /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-6
7f08a26ab000-7f08a26eb000 r--s 00000000 08:01 8650821                    /var/cache/fontconfig/0bd3dc0958fa2205aaaa8ebb13e2872b-le64.cache-6
7f08a26eb000-7f08a26f0000 r--s 00000000 08:01 8650859                    /var/cache/fontconfig/8801497958630a81b71ace7c5f9b32a8-le64.cache-6
7f08a26f0000-7f08a26f3000 r--s 00000000 08:01 8650865                    /var/cache/fontconfig/a015930274ffcd967d2ca1b57da47cc7-le64.cache-6
7f08a26f3000-7f08a26f4000 r--s 00000000 08:01 8650869                    /var/cache/fontconfig/b872e6e592da6075ffa4ab0a1fcc0c75-le64.cache-6
7f08a26f4000-7f08a26f5000 r--s 00000000 08:01 8650886                    /var/cache/fontconfig/f6d4eedfaab2589bde49f7a3ff831d22-le64.cache-6
7f08a26f5000-7f08a26f6000 r--s 00000000 08:01 8650849                    /var/cache/fontconfig/589f83ef4c36d296ce6e1c846f468f08-le64.cache-6
7f08a26f6000-7f08a26f7000 r--s 00000000 08:01 8650871                    /var/cache/fontconfig/bab58bb527bb656aaa9f116d68a48d89-le64.cache-6
7f08a26f7000-7f08a26f8000 r--s 00000000 08:01 8650828                    /var/cache/fontconfig/2171a34dccabdb6bcbbc728186263178-le64.cache-6
7f08a26f8000-7f08a26f9000 r--s 00000000 08:01 8650872                    /var/cache/fontconfig/c5c45a61289222e0d30b1a26ef4effbe-le64.cache-6
7f08a26f9000-7f08a26fa000 r--s 00000000 08:01 8650867                    /var/cache/fontconfig/aec30016f93e1b46d1a973dce0d74068-le64.cache-6
7f08a26fa000-7f08a26fb000 r--s 00000000 08:01 8650836                    /var/cache/fontconfig/3f589640d34b7dc9042c8d453f7c8b9c-le64.cache-6
7f08a26fb000-7f08a2704000 r-xp 00000000 08:01 9445771                    /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f08a2704000-7f08a2903000 ---p 00009000 08:01 9445771                    /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f08a2903000-7f08a2904000 r--p 00008000 08:01 9445771                    /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f08a2904000-7f08a2905000 rw-p 00009000 08:01 9445771                    /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f08a2905000-7f08a3f0b000 rw-p 00000000 00:00 0 
7f08a3f0b000-7f08a3f42000 r-xp 00000000 08:01 9447288                    /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
7f08a3f42000-7f08a4141000 ---p 00037000 08:01 9447288                    /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
7f08a4141000-7f08a4142000 r--p 00036000 08:01 9447288                    /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
7f08a4142000-7f08a4143000 rw-p 00037000 08:01 9447288                    /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
7f08a4143000-7f08a414b000 r-xp 00000000 08:01 9446945                    /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
7f08a414b000-7f08a434b000 ---p 00008000 08:01 9446945                    /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
7f08a434b000-7f08a434c000 r--p 00008000 08:01 9446945                    /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
7f08a434c000-7f08a434d000 rw-p 00009000 08:01 9446945                    /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
7f08a434d000-7f08a44bf000 r-xp 00000000 08:01 9447224                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f08a44bf000-7f08a46bf000 ---p 00172000 08:01 9447224                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f08a46bf000-7f08a46c9000 r--p 00172000 08:01 9447224                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f08a46c9000-7f08a46cb000 rw-p 0017c000 08:01 9447224                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f08a46cb000-7f08a46cf000 rw-p 00000000 00:00 0 
7f08a46cf000-7f08a46da000 r-xp 00000000 08:01 9452562                    /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
7f08a46da000-7f08a48d9000 ---p 0000b000 08:01 9452562                    /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
7f08a48d9000-7f08a48da000 r--p 0000a000 08:01 9452562                    /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
7f08a48da000-7f08a48db000 rw-p 0000b000 08:01 9452562                    /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
7f08a48db000-7f08a48e2000 r-xp 00000000 08:01 9452571                    /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
7f08a48e2000-7f08a4ae1000 ---p 00007000 08:01 9452571                    /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
7f08a4ae1000-7f08a4ae2000 r--p 00006000 08:01 9452571                    /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
7f08a4ae2000-7f08a4ae3000 rw-p 00007000 08:01 9452571                    /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
7f08a4ae3000-7f08a4b05000 r-xp 00000000 08:01 9450704                    /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f08a4b05000-7f08a4d04000 ---p 00022000 08:01 9450704                    /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f08a4d04000-7f08a4d05000 r--p 00021000 08:01 9450704                    /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f08a4d05000-7f08a4d06000 rw-p 00022000 08:01 9450704                    /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
7f08a4d06000-7f08a540d000 r-xp 00000000 08:01 9838300                    /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
7f08a540d000-7f08a560c000 ---p 00707000 08:01 9838300                    /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
7f08a560c000-7f08a5650000 r--p 00706000 08:01 9838300                    /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
7f08a5650000-7f08a5658000 rw-p 0074a000 08:01 9838300                    /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
7f08a5658000-7f08a5665000 rw-p 00000000 00:00 0 
7f08a5665000-7f08a5675000 r-xp 00000000 08:01 9452553                    /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f08a5675000-7f08a5874000 ---p 00010000 08:01 9452553                    /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f08a5874000-7f08a5875000 r--p 0000f000 08:01 9452553                    /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f08a5875000-7f08a5876000 rw-p 00010000 08:01 9452553                    /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f08a5876000-7f08a587b000 r-xp 00000000 08:01 9445813                    /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f08a587b000-7f08a5a7a000 ---p 00005000 08:01 9445813                    /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f08a5a7a000-7f08a5a7b000 r--p 00004000 08:01 9445813                    /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f08a5a7b000-7f08a5a7c000 rw-p 00005000 08:01 9445813                    /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f08a5a7c000-7f08a5a80000 r-xp 00000000 08:01 9447441                    /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f08a5a80000-7f08a5c7f000 ---p 00004000 08:01 9447441                    /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f08a5c7f000-7f08a5c80000 r--p 00003000 08:01 9447441                    /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f08a5c80000-7f08a5c81000 rw-p 00004000 08:01 9447441                    /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f08a5c81000-7f08a5c98000 r-xp 00000000 08:01 9447445                    /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f08a5c98000-7f08a5e97000 ---p 00017000 08:01 9447445                    /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f08a5e97000-7f08a5e99000 r--p 00016000 08:01 9447445                    /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f08a5e99000-7f08a5e9a000 rw-p 00018000 08:01 9447445                    /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f08a5e9a000-7f08a5e9b000 r-xp 00000000 08:01 9445758                    /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f08a5e9b000-7f08a609a000 ---p 00001000 08:01 9445758                    /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f08a609a000-7f08a609b000 r--p 00000000 08:01 9445758                    /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f08a609b000-7f08a609c000 rw-p 00001000 08:01 9445758                    /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f08a609c000-7f08a60a1000 r-xp 00000000 08:01 9445779                    /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f08a60a1000-7f08a62a0000 ---p 00005000 08:01 9445779                    /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f08a62a0000-7f08a62a1000 r--p 00004000 08:01 9445779                    /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f08a62a1000-7f08a62a2000 rw-p 00005000 08:01 9445779                    /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f08a62a2000-7f08a62a4000 r-xp 00000000 08:01 9445773                    /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f08a62a4000-7f08a64a3000 ---p 00002000 08:01 9445773                    /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f08a64a3000-7f08a64a4000 r--p 00001000 08:01 9445773                    /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f08a64a4000-7f08a64a5000 rw-p 00002000 08:01 9445773                    /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f08a64a5000-7f08a64b6000 r-xp 00000000 08:01 9445777                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f08a64b6000-7f08a66b5000 ---p 00011000 08:01 9445777                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f08a66b5000-7f08a66b6000 r--p 00010000 08:01 9445777                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f08a66b6000-7f08a66b7000 rw-p 00011000 08:01 9445777                    /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f08a66b7000-7f08a66e1000 r-xp 00000000 08:01 9452664                    /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f08a66e1000-7f08a68e1000 ---p 0002a000 08:01 9452664                    /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f08a68e1000-7f08a68e5000 r--p 0002a000 08:01 9452664                    /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f08a68e5000-7f08a68e6000 rw-p 0002e000 08:01 9452664                    /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f08a68e6000-7f08a68e7000 rw-p 00000000 00:00 0 
7f08a68e7000-7f08a68e8000 r-xp 00000000 08:01 9447492                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f08a68e8000-7f08a6ae8000 ---p 00001000 08:01 9447492                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f08a6ae8000-7f08a6ae9000 r--p 00001000 08:01 9447492                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f08a6ae9000-7f08a6aea000 rw-p 00002000 08:01 9447492                    /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f08a6aea000-7f08a6aef000 r-xp 00000000 08:01 9447467                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f08a6aef000-7f08a6cef000 ---p 00005000 08:01 9447467                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f08a6cef000-7f08a6cf0000 r--p 00005000 08:01 9447467                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f08a6cf0000-7f08a6cf1000 rw-p 00006000 08:01 9447467                    /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f08a6cf1000-7f08a6cf3000 r-xp 00000000 08:01 9447453                    /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f08a6cf3000-7f08a6ef2000 ---p 00002000 08:01 9447453                    /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f08a6ef2000-7f08a6ef3000 r--p 00001000 08:01 9447453                    /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f08a6ef3000-7f08a6ef4000 rw-p 00002000 08:01 9447453                    /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f08a6ef4000-7f08a6ef6000 r-xp 00000000 08:01 9447443                    /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f08a6ef6000-7f08a70f5000 ---p 00002000 08:01 9447443                    /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f08a70f5000-7f08a70f6000 r--p 00001000 08:01 9447443                    /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f08a70f6000-7f08a70f7000 rw-p 00002000 08:01 9447443                    /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f08a70f7000-7f08a7165000 r-xp 00000000 08:01 9838303                    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f08a7165000-7f08a7364000 ---p 0006e000 08:01 9838303                    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f08a7364000-7f08a7367000 r--p 0006d000 08:01 9838303                    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f08a7367000-7f08a7368000 rw-p 00070000 08:01 9838303                    /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f08a7368000-7f08a7369000 rw-p 00000000 00:00 0 
7f08a7369000-7f08a7402000 r-xp 00000000 08:01 10359757                   /usr/lib/python2.7/dist-packages/gr3/libGR3.so
7f08a7402000-7f08a7602000 ---p 00099000 08:01 10359757                   /usr/lib/python2.7/dist-packages/gr3/libGR3.so
7f08a7602000-7f08a7606000 r--p 00099000 08:01 10359757                   /usr/lib/python2.7/dist-packages/gr3/libGR3.so
7f08a7606000-7f08a7607000 rw-p 0009d000 08:01 10359757                   /usr/lib/python2.7/dist-packages/gr3/libGR3.so
7f08a7607000-7f08a7648000 rw-p 00000000 00:00 0 
7f08a7648000-7f08a764d000 r-xp 00000000 08:01 9445775                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f08a764d000-7f08a784c000 ---p 00005000 08:01 9445775                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f08a784c000-7f08a784d000 r--p 00004000 08:01 9445775                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f08a784d000-7f08a784e000 rw-p 00005000 08:01 9445775                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f08a784e000-7f08a7850000 r-xp 00000000 08:01 9445764                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f08a7850000-7f08a7a50000 ---p 00002000 08:01 9445764                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f08a7a50000-7f08a7a51000 r--p 00002000 08:01 9445764                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f08a7a51000-7f08a7a52000 rw-p 00003000 08:01 9445764                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f08a7a52000-7f08a7a56000 r-xp 00000000 08:01 7344492                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f08a7a56000-7f08a7c55000 ---p 00004000 08:01 7344492                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f08a7c55000-7f08a7c56000 r--p 00003000 08:01 7344492                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f08a7c56000-7f08a7c57000 rw-p 00004000 08:01 7344492                    /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f08a7c57000-7f08a7c7b000 r-xp 00000000 08:01 7344736                    /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f08a7c7b000-7f08a7e7a000 ---p 00024000 08:01 7344736                    /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f08a7e7a000-7f08a7e7b000 r--p 00023000 08:01 7344736                    /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f08a7e7b000-7f08a7e7c000 rw-p 00024000 08:01 7344736                    /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f08a7e7c000-7f08a7e9d000 r-xp 00000000 08:01 9447477                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f08a7e9d000-7f08a809c000 ---p 00021000 08:01 9447477                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f08a809c000-7f08a809d000 r--p 00020000 08:01 9447477                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f08a809d000-7f08a809e000 rw-p 00021000 08:01 9447477                    /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f08a809e000-7f08a80b4000 r-xp 00000000 08:01 9445285                    /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f08a80b4000-7f08a82b3000 ---p 00016000 08:01 9445285                    /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f08a82b3000-7f08a82b4000 r--p 00015000 08:01 9445285                    /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f08a82b4000-7f08a82b5000 rw-p 00016000 08:01 9445285                    /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f08a82b5000-7f08a82b8000 rw-p 00000000 00:00 0 
7f08a82b8000-7f08a82bf000 r-xp 00000000 08:01 9445756                    /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f08a82bf000-7f08a84be000 ---p 00007000 08:01 9445756                    /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f08a84be000-7f08a84bf000 r--p 00006000 08:01 9445756                    /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f08a84bf000-7f08a84c0000 rw-p 00007000 08:01 9445756                    /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f08a84c0000-7f08a84c9000 r-xp 00000000 08:01 9445797                    /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f08a84c9000-7f08a86c8000 ---p 00009000 08:01 9445797                    /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f08a86c8000-7f08a86c9000 r--p 00008000 08:01 9445797                    /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f08a86c9000-7f08a86ca000 rw-p 00009000 08:01 9445797                    /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f08a86ca000-7f08a86f0000 r-xp 00000000 08:01 7344626                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f08a86f0000-7f08a88f0000 ---p 00026000 08:01 7344626                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f08a88f0000-7f08a88f2000 r--p 00026000 08:01 7344626                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f08a88f2000-7f08a88f3000 rw-p 00028000 08:01 7344626                    /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f08a88f3000-7f08a8997000 r-xp 00000000 08:01 9442006                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f08a8997000-7f08a8b96000 ---p 000a4000 08:01 9442006                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f08a8b96000-7f08a8b9c000 r--p 000a3000 08:01 9442006                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f08a8b9c000-7f08a8b9d000 rw-p 000a9000 08:01 9442006                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f08a8b9d000-7f08a8cd2000 r-xp 00000000 08:01 9445760                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f08a8cd2000-7f08a8ed2000 ---p 00135000 08:01 9445760                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f08a8ed2000-7f08a8ed3000 r--p 00135000 08:01 9445760                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f08a8ed3000-7f08a8ed7000 rw-p 00136000 08:01 9445760                    /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f08a8ed7000-7f08a8f39000 r-xp 00000000 08:01 9445801                    /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f08a8f39000-7f08a9139000 ---p 00062000 08:01 9445801                    /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f08a9139000-7f08a913a000 r--p 00062000 08:01 9445801                    /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f08a913a000-7f08a913f000 rw-p 00063000 08:01 9445801                    /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f08a913f000-7f08a9140000 rw-p 00000000 00:00 0 
7f08a9140000-7f08a9154000 r-xp 00000000 08:01 9445783                    /usr/lib/x86_64-linux-gnu/libXft.so.2.3.2
7f08a9154000-7f08a9353000 ---p 00014000 08:01 9445783                    /usr/lib/x86_64-linux-gnu/libXft.so.2.3.2
7f08a9353000-7f08a9354000 r--p 00013000 08:01 9445783                    /usr/lib/x86_64-linux-gnu/libXft.so.2.3.2
7f08a9354000-7f08a9355000 rw-p 00014000 08:01 9445783                    /usr/lib/x86_64-linux-gnu/libXft.so.2.3.2
7f08a9355000-7f08a9392000 r-xp 00000000 08:01 9446202                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f08a9392000-7f08a9591000 ---p 0003d000 08:01 9446202                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f08a9591000-7f08a9593000 r--p 0003c000 08:01 9446202                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f08a9593000-7f08a9598000 rw-p 0003e000 08:01 9446202                    /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f08a9598000-7f08a9645000 r-xp 00000000 08:01 9580351                    /usr/lib/python2.7/dist-packages/gr/libGKS.so
7f08a9645000-7f08a9845000 ---p 000ad000 08:01 9580351                    /usr/lib/python2.7/dist-packages/gr/libGKS.so
7f08a9845000-7f08a984a000 r--p 000ad000 08:01 9580351                    /usr/lib/python2.7/dist-packages/gr/libGKS.so
7f08a984a000-7f08a9857000 rw-p 000b2000 08:01 9580351                    /usr/lib/python2.7/dist-packages/gr/libGKS.so
7f08a9857000-7f08a987f000 rw-p 00000000 00:00 0 
7f08a987f000-7f08aa2b5000 r-xp 00000000 08:01 9580355                    /usr/lib/python2.7/dist-packages/gr/libGR.so
7f08aa2b5000-7f08aa4b5000 ---p 00a36000 08:01 9580355                    /usr/lib/python2.7/dist-packages/gr/libGR.so
7f08aa4b5000-7f08aa4bb000 r--p 00a36000 08:01 9580355                    /usr/lib/python2.7/dist-packages/gr/libGR.so
7f08aa4bb000-7f08aa4e5000 rw-p 00a3c000 08:01 9580355                    /usr/lib/python2.7/dist-packages/gr/libGR.so
7f08aa4e5000-7f08aa5b6000 rw-p 00000000 00:00 0 
7f08aa5b6000-7f08aa62c000 r-xp 00000000 08:01 9576127                    /usr/lib/python2.7/dist-packages/numpy/random/mtrand.x86_64-linux-gnu.so
7f08aa62c000-7f08aa82c000 ---p 00076000 08:01 9576127                    /usr/lib/python2.7/dist-packages/numpy/random/mtrand.x86_64-linux-gnu.so
7f08aa82c000-7f08aa82d000 r--p 00076000 08:01 9576127                    /usr/lib/python2.7/dist-packages/numpy/random/mtrand.x86_64-linux-gnu.so[1]    17864 abort      /usr/bin/python test.py

How to use drawimage to render a 2D array?

Hi,

New user to GR. One small question: I tried to use drawimage to render a 2D float-type array using whichever colormap, but did not figure out how to do that. Can anyone indicate?

Also, could anyone indicate where I can find the source code for the image plot (the first image on the homepage, http://gr-framework.org/, the 2D image plot with a logarithmic colorbar)?

Thanks very much!
Kai

Differences in rendering with matplotlib's agg backend

Running examples/matplotlib/artist_reference.py with matplotlib's (qt5)agg backend (left) and with the gr backend (right) reveals a few differences:

  • gr does not seem to use antialiasing (this is clearer if you click on the screenshot to open it with its original size). Is that correct?
  • color rendering seems different.

screenshot_20170129_015546

gr 0.23.0 and matplotlib 2.0 installed with pip on Python 3.6, Arch Linux.

cannot compile on OS X Sierra

hi, see also issue #45 . after failing to install via conda i tried compilation from source after cloning, i do this:

$ type python
python is hashed (/Users/nbecker/Apps/anaconda/bin/python)

$ python setup.py check_ext
[...]
5 warnings and 3 errors generated.


 isLinuxOrDarwin:  True
         isLinux:  False
        isDarwin:  True
         isWin32:  False

      OSX target:  10.7

          x11lib:  ['/usr/X11/lib']
          x11inc:  ['/usr/X11/include']
         x11libs:  []
      x11ldflags:  []
       x11cflags:  []

        wxconfig:
           wxdir:  None
           wxlib:  []
           wxinc:  []
          wxlibs:  []
       wxldflags:  []
           wxcxx:  []

      gtkldflags:  ['-L/opt/X11/lib', '-L/usr/local/Cellar/gtk+/2.24.31_1/lib', '-L/usr/local/Cellar/pango/1.40.12/lib', '-L/usr/local/Cellar/atk/2.26.0/lib', '-L/usr/local/Cellar/gdk-pixbuf/2.36.11/lib', '-L/usr/local/Cellar/glib/2.54.1/lib', '-L/usr/local/opt/gettext/lib', '-lgtk-quartz-2.0', '-lgdk-quartz-2.0', '-lpangocairo-1.0', '-lpango-1.0', '-latk-1.0', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-lintl', '-Wl,-framework', '-Wl,CoreFoundation']
       gtkcflags:  ['-D_REENTRANT', '-I/opt/X11/include/cairo', '-I/opt/X11/include/pixman-1', '-I/opt/X11/include', '-I/opt/X11/include/freetype2', '-I/opt/X11/include/libpng16', '-I/opt/X11/include', '-I/opt/X11/include/libpng16', '-I/usr/local/Cellar/gtk+/2.24.31_1/include/gtk-2.0', '-I/usr/local/Cellar/gtk+/2.24.31_1/lib/gtk-2.0/include', '-I/usr/local/Cellar/pango/1.40.12/include/pango-1.0', '-I/usr/local/Cellar/harfbuzz/1.5.1/include/harfbuzz', '-I/usr/local/Cellar/graphite2/1.3.10/include', '-I/usr/local/Cellar/pango/1.40.12/include/pango-1.0', '-I/usr/local/Cellar/atk/2.26.0/include/atk-1.0', '-I/usr/local/Cellar/gdk-pixbuf/2.36.11/include/gdk-pixbuf-2.0', '-I/usr/local/Cellar/glib/2.54.1/include/glib-2.0', '-I/usr/local/Cellar/glib/2.54.1/lib/glib-2.0/include', '-I/usr/local/opt/gettext/include', '-I/usr/local/Cellar/pcre/8.41/include']

       qmake-qt4:  /Users/nbecker/Apps/anaconda/bin/qmake
          qt4dir:
          qt4inc:  ['/Users/aaronmeurer/anaconda/envs/_build/include']
          qt4lib:  ['/Users/aaronmeurer/anaconda/envs/_build/lib']
         qt4libs:  []
      qt4ldflags:  []
     Qt4 version:  [4, 8, 6]

       qmake-qt5:
          qt5dir:
          qt5inc:  []
          qt5lib:  []
         qt5libs:  []
      qt5ldflags:  []
     Qt5 version:  None

           gsdir:  None
           gsinc:  []
           gslib:  []
          gslibs:  []
       gsldflags:  []

           grdir:  lib/python2.7/site-packages/gr-0.27.0.post7-py2.7-macosx-10.6-x86_64.egg/gr

 freetype-config:  /Users/nbecker/Apps/anaconda/bin/freetype-config
       ftldflags:  ['-L/Users/nbecker/Apps/anaconda/lib', '-lfreetype', '-lz', '-lbz2', '-lpng16']
        ftcflags:  ['-I/Users/nbecker/Apps/anaconda/include/freetype2']

        mupdfinc:  []
       mupdflibs:  []
    mupdfldflags:  []

        cairoinc:  ['/usr/local/include']
        cairolib:  []
       cairolibs:  ['cairo', 'pixman-1', 'pthread']
    cairoldflags:  ['-L/usr/local/lib']

      opengllibs:  []
    opengldflags:  ['-framework', 'OpenGL', '-framework', 'Cocoa']

     disable-x11:  False
      disable-xt:  False
     disable-xft:  False
      disable-wx:  True
     disable-qt4:  False
     disable-qt5:  True
     disable-gtk:  False
      disable-gs:  True
     disable-fig:  False
     disable-svg:  False
    disable-html:  False
     disable-pgf:  False
     disable-wmf:  False
     disable-mov:  True
  disable-opengl:  False
  disable-quartz:  False
disable-freetype:  False
   disable-mupdf:  True
   disable-cairo:  False

some errors occur during the mupdf check for example. i then try to compile anyway:

$ python setup.py install

this fails. besides many warning messages there is this error:

In file included from lib/gks/x11.c:40:
/usr/X11/include/X11/Intrinsic.h:1855:3: error: expected function body after function declarator
) _X_ATTRIBUTE_PRINTF(2,3);
$gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

How do I build with 3rd party packages on OSX?

I would like to add Ghostscript and a few other packages to my GR source build. I do have the Ghostscript libraries and headers on my system (from homebrew), but it was not linked into the standard search paths like /usr/local/include due to conflicts. I see that Ghostscript is not reported as part of the build when I type make. What is the right way to specify 3rd party package locations in the GR build system?

wrongly formatted floats in PDF output when locale set in program

When a program uses setlocale() - as done in Qt by default - and the locale has a LC_NUMERIC setting that formats floats differently (e.g. "," as decimal point) the values written to PDF files during beginprint/endprint are wrongly formatted and cannot be read by PDF viewers.

This can be reproduced with e.g.

LC_NUMERIC=de_DE.UTF8 python examples/qtgrdemo.py

and then saving the plot as a PDF.

A workaround might be to use uselocale() to reset the locale to C in the thread that writes the PDF.

Long-running 2D graph leads to access violation

Hello,

I have the Python Qt-based GUI which is using the GR to draw eight curves. I am using the Plot once, the PlotAxes once and the PlotCurves 8-times.

I do the refresh every 40 ms. Before every refresh the curve values are shifted by one and the new value is added to the end. The X value grows by 0.04 for every refresh and thy Y values are within -1 to 1 range. All the curves are shifted in the same way, so the X axis is always in the range of approx 10 seconds, so there are 250 values within a short numeric range.

Everything goes fine for maybe 12 to 15 hours, but after that I receive this error:

origin outside current window
origin outside current window
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\qtgr__init__.py", line 294, in paintEvent

super(InteractiveGRWidget, self).paintEvent(event)

File "C:\Anaconda\lib\site-packages\qtgr__init__.py", line 104, in paintEvent

gr.updatews()

File "C:\Anaconda\lib\site-packages\gr__init__.py", line 249, in updatews
__gr.gr_updatews()
WindowsError: exception: access violation reading 0x00000000

Unfortunately, I'm unable to compile the binaries on my Win7, so cannot debug the exact place where the binary fails.

I have no idea what I am doing wrong, but in general I hope the curve values are ok.

Thank you

John

scattered data interpolation

Hello GR and Josef Heinen,
I am looking for a way to do scattered data interpolation in Julia. Perhaps GR.jl might be helpful. I read your example
xd = -2 + 4 * rand(100)
yd = -2 + 4 * rand(100)
zd = [Float64(xd[i] * exp(-xd[i]^2 - yd[i]^2)) for i = 1:100]
using GR
x, y, z = GR.gridit(xd, yd, zd, 200, 200)
But is it also possible to return the (interpolated) value of z for a specific inputs (x,y)? So I am looking for a function like the following one:
zi = GR.somefunction(xd,yd,zd,xi,yi), where xi and yi are some specific values for x and y.
Thank you!

NameError when using GR backend in matplotlib

python 3.5, matplotlib 1.5.0, example from https://github.com/jheinen/gr/blob/3f22b5d/examples/matplotlib/rotate_axes3d_demo.py:

$ MPLBACKEND="module://gr.matplotlib.backend_gr" python rotate_axes3d_demo.py 
Traceback (most recent call last):
  File "rotate_axes3d_demo.py", line 8, in <module>
    ax = fig.add_subplot(111, projection='3d')
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/figure.py", line 1005, in add_subplot
    a = subplot_class_factory(projection_class)(self, *args, **kwargs)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/axes/_subplots.py", line 73, in __init__
    self._axes_class.__init__(self, fig, self.figbox, **kwargs)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 125, in __init__
    self.figure.add_axes(self)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/figure.py", line 920, in add_axes
    self.stale = True
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/artist.py", line 267, in stale
    self.stale_callback(self, val)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/pyplot.py", line 568, in _auto_draw_if_interactive
    fig.canvas.draw_idle()
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/backend_bases.py", line 2026, in draw_idle
    self.draw(*args, **kwargs)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/gr/matplotlib/backend_gr.py", line 235, in draw
    self.figure.draw(self.renderer)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/artist.py", line 61, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/figure.py", line 1133, in draw
    func(*args)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 287, in draw
    ax.draw_pane(renderer)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/mpl_toolkits/mplot3d/axis3d.py", line 204, in draw_pane
    self.pane.draw(renderer)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/artist.py", line 61, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/matplotlib/patches.py", line 522, in draw
    renderer.draw_path(gc, tpath, affine, rgbFace)
  File "/home/juanlu/.miniconda3/envs/poliastro35/lib/python3.5/site-packages/gr/matplotlib/backend_gr.py", line 81, in draw_path
    if type(gc._linestyle) is unicode:
NameError: name 'unicode' is not defined

Installation MacOS Anaconda 3.5

Hello!
I have some trouble installing gr on a MacOS with Python3.5 on Anaconda.
I get the following error message, no matter what way i try to install:
...
File "setup.py", line 1493, in finalize_options
check_ext.finalize_options(self)
File "setup.py", line 846, in finalize_options
build_static.finalize_options(self)
File "setup.py", line 117, in finalize_options
if version[0] == 10 and version[1] < 7:
TypeError: 'map' object is not subscriptable

What can i do?
Another question i have:
I would like to visualize 3D-Data (some hundred datapoints/ dataset), which should rebuild as quick as possible. Is gr the right tool for this? Or would PyQtgraph or Vispy or something else be more suitable for this case?
Thanks a lot!
Korbinian

Keeping windows open when using gr as matplotlib backend

gr seems to return immediately after plt.show() when used as a matplotlib backend (e.g. MPLBACKEND='module://gr.matplotlib.backend_gr' python examples/matplotlib/artist_reference.py momentarily displays a window, then immediately closes it and the process exits). Would it be possible to instead make show() blocking and keep the window opened?

gr 0.23.0
matplotlib 2.0.0
python 3.6.0

conda gr not available for Python 3.6*

Herr Heinen.

I encountered the following issue.

OS: Windows 10 x64

[MS VS 2015]
Python 3.6.1
Miniconda3

conda install -c https://conda.anaconda.org/jheinen gr
Fetching package metadata .............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:

  • gr -> python 2.7*
  • python 3.6*

Would you please make available the gr package for conda installation with Python 3.*
on Windows x64.

Thank you.

Audrius

Look of markers

Really love GR, and mostly I use it for heatmap and line plots. However, every now and then
I use scatter plots and noticed the markers look a little "low quality", e.g. circles have little nicks and
such, namely at the top and left hand side of the marker.
I then switch to pyplot or plotlyjs for scatter plots, but I d like to stay on GR as much as possible :)

Did Pkg.checkout() to get latest version and I am on Julia v0.5 Linux.

screenshot_gr

Thanks for all the effort you put into this!

Andre

setcolormap documentation

Hello,

I am using GR with Julia and ran into some confusion with the colormaps and cellarray. In the code below, I display a cellarray with linearly increasing Int32 values: 1 , 2, 3, 4, ... n. On each each iteration of the for loop I change the colormap, but only a subset of the cells actually change color

import GR

function draw_pics(image, n, cmap)

  GR.clearws()
  GR.setwindow(0, 100, 0, 100)
  GR.setviewport(0, 1, 0, 1)
  GR.setcolormap(cmap)
  GR.cellarray(10, 90, 10, 90, n, n, image)
  GR.updatews()

end

for i in 1:100

  n = 40
  x = ones(Int32, n^2)
  cumsum!(x, x)
  reshape(x, (n, n))
  draw_pics(x, n, i)
  sleep(0.1)

end

What is the logic for converting the values to the colors by the colormap here?

Compile with mingw as c++ library

Hi! I'm looking for some documentation about compiling on windows? Is it possible? Is also possible to compile it only as c++ library?

some line types are not as expected in Qt

Some of the line types look not as expected in the Qt backend. For example, LINETYPE_SPACED_DOT looks like solid lines with inconsistent 1-pixel breaks.

LINETYPE_DOTTED does not have equal spaced dots, but looks like this:
dots

In general, dots usually appear to be 2-pixel length lines.

no conda packages for py3.5 macOS

I was trying to test out gr on anaconda but I ran into a unsatisfiable error with the conda install on macOS. It appears that there are no python3.5 conda packages uploaded to https://conda.anaconda.org/jheinen so that explains why I get the error. Is there any chance python3.5 artifacts could be made available?

gr crashes on executing the example

I installed gr using conda install -c https://conda.binstar.org/jheinen gr on mac osx 10.8.5. There seems to be an issue with the 'libfreetype.6.dylib'.
When running the example from the gr website:
from gr import pygr
pygr.plot([0,1,4],[3,2,5])
gr crashes and leaves an item named: "libfreetype.6.dylib" in the finder favorites column, which refers to the following terminal message:

Last login: Fri Dec 5 15:01:10 on ttys002
/opt/X11/lib/libfreetype.6.dylib ; exit;
~ user$ /opt/X11/lib/libfreetype.6.dylib ; exit;
-bash: /opt/X11/lib/libfreetype.6.dylib: cannot execute binary file
logout

[Proces voltooid]

More information may be found in the apple crash report, most of which to be honest is beyond my comprehension. The apple crash report is attached below. How could I get gr working on my machine? Your help is very much appreciated.

Regards,

Hermen
ps: anaconda is installed in user/anaconda


Apple crash report deleted because problem==solved

Version inconsistency between github and pypi

The latest release here appears to be 0.27.0, but it's nowhere to be found on pypi.
On the other hand, the latter offers a version 1.0.0 that lacks all the plugins.

Is this on purpose?

can't install with pip on OS X 10.11

starting with a fresh environment:

pip (8.1.2)
setuptools (25.1.3)
wheel (0.29.0)

pip install gr

results in

Collecting gr
  Using cached gr-0.19.1.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/gr.egg-info
    writing pip-egg-info/gr.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/gr.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/gr.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/gr.egg-info/SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found

    cc -arch x86_64 -fPIC -c 3rdparty/zlib/adler32.c -o 3rdparty/zlib/adler32.o
    error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.6" but "10.11" during configure

installing from source using pip and changing the macosx-deployment-target to 10.11 does work, so it would make sense to determine the OS X version dynamically during setup:

'.'.join(platform.mac_ver()[0].split('.')[:2])

seems to work. Should I compile a PR?

Makefile/build process

The build process is full of odd practices

  • use prefix (mostly to replace GRDIR)
  • prefer OS provided libraries (e.g. use -lz instead of bundling zlib)
  • prefer dynamic linking over static
  • don't install libraries from each other. e.g. make -C lib/gr install shouldn't install gks.
  • have separate install targets for C library vs python library vs julia library
  • use $(MAKE) if you need to call out to another makefile

Resizing issue

_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: https://docs.julialang.org
_ _ | | __ _ | Type "?help" for help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.6.0 (2017-06-19 13:05 UTC)
/ |_'|||_'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin13.4.0

Resizing issue with the following example plot

using Plots
gr()
plot(sin,(x->begin sin(2x) end),0,2π,line=4,leg=false,fill=(0,:orange))

Issue 1:
Moving the mouse towards the lower right corner of the GKSTerm window in the foreground changes the cursor shape to a two sided arrow.
Click and move the cursor to shrink the window, then release the mouse.
A black block appears within the drawing area.

Issue 2:
Select „Rotate by 90“. Resizing distorts the drawing.

interactive camera motion

is it currently possible to pan the camera with the mouse? there is a headline in the docs but i did not find anything so far?

STDCALL and fortran

cdecl is now prefered over the old stdcall convention on windows. stdcall is only useful for accessing the WINAPI functions. IMHO cdecl should be used per default for the Fortran interface.

Crash (MacOS El Capitan) if GKS application accidentally deleted

I inadvertently deleted the GKS window between calls (I sometimes do Command-Q rather than Command-W). (I know it's a dumb thing to do...)

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6 (2016-06-19 17:16 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-apple-darwin13.4.0

julia> using Plots
gr
julia> gr()
Plots.GRBackend()

julia> plot(0:0.1:10, Any[cos, sin])
[Plots.jl] Initializing backend: gr

# I closed the GKS app here

julia> plot(0:0.1:10, Any[cos, sin])
2016-06-24 13:31:51.839 julia[35241:4307933] *** Terminating app due to uncaught exception 'NSInvalidSendPortException', reason: '[NSMachPort sendBeforeDate:] destination port invalid'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff949cb4f2 __exceptionPreprocess + 178
    1   libobjc.A.dylib                     0x00007fff8516473c objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff94a324bd +[NSException raise:format:] + 205
    3   Foundation                          0x00007fff96e103f0 +[NSMachPort sendBeforeTime:streamData:components:to:from:msgid:reserved:] + 1495
    4   Foundation                          0x00007fff96e0fe07 -[NSMachPort sendBeforeDate:msgid:components:from:reserved:] + 101
    5   Foundation                          0x00007fff96e0fc1e -[NSConnection _sendBeforeTime:coder:doAuthenticationCheck:] + 359
    6   Foundation                          0x00007fff96e0cad8 -[NSConnection sendInvocation:internal:] + 1351
    7   CoreFoundation                      0x00007fff9493b382 ___forwarding___ + 514
    8   CoreFoundation                      0x00007fff9493b0f8 _CF_forwarding_prep_0 + 120
    9   quartzplugin.so                     0x0000000313c78b49 gks_quartzplugin + 777
    10  libGR.so                            0x000000031320a5d4 gks_ddlk + 2292
    11  libGR.so                            0x000000031320ac77 gks_open_ws + 775
    12  libGR.so                            0x00000003131bc1ee initgks + 62
    13  libGR.so                            0x00000003131bc3d0 gr_clearws + 48
    14  ???                                 0x0000000313143500 0x0 + 13204993280
    15  ???                                 0x0000000313141f6b 0x0 + 13204987755
    16  ???                                 0x0000000313141e67 0x0 + 13204987495
    17  ???                                 0x0000000313141dc7 0x0 + 13204987335
    18  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    19  ???                                 0x0000000313141cda 0x0 + 13204987098
    20  ???                                 0x0000000313141b67 0x0 + 13204986727
    21  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    22  ???                                 0x0000000313141686 0x0 + 13204985478
    23  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    24  ???                                 0x000000030531b273 0x0 + 12972044915
    25  ???                                 0x000000030531af22 0x0 + 12972044066
    26  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    27  ???                                 0x000000030531ae76 0x0 + 12972043894
    28  ???                                 0x000000030531ad32 0x0 + 12972043570
    29  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    30  ???                                 0x000000030530f1e1 0x0 + 12971995617
    31  sys.dylib                           0x0000000102061027 julia_run_interface_18234 + 487
    32  sys.dylib                           0x0000000102061090 jlcall_run_interface_18234 + 16
    33  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    34  sys.dylib                           0x000000010206a3d1 julia_run_frontend_18517 + 609
    35  sys.dylib                           0x0000000102069b51 julia_run_repl_18503 + 241
    36  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    37  sys.dylib                           0x000000010207a4eb julia__start_18909 + 3563
    38  sys.dylib                           0x000000010207a7f9 jlcall__start_18909 + 9
    39  libjulia.dylib                      0x0000000100b55c83 jl_apply_generic + 307
    40  julia                               0x0000000100b3f684 true_main + 276
    41  julia                               0x0000000100b3f556 main + 86
    42  julia                               0x0000000100b3e8a4 start + 52
    43  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Abort trap: 6

(Moved from JuliaPlots/Plots.jl#350)

`gridit` is undocumented

This function is used several times within the examples, but there is no documentation in the GR reference, the Julia interface, the Python interface, or the C source.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.