module GR
Included Modules
Extended Modules
Defined in:
gr.crgr/libgr.cr
gr/makino.cr
Instance Method Summary
- #activatews(i0)
- #adjustlimits(amin, amax)
- #adjustrange(amin, amax)
- #axes(x_tick, y_tick, x_org, y_org, major_x, major_y, tick_size)
- #axes3d(x, x1, x2, x3, x4, x5, i, i1, i2, x6)
- #begingraphics(path)
- #beginprint(pathname)
- #beginprintext(pathname, mode, fmt, orientation)
- #beginselection(index, type)
- #box(x_tick = (GRparms.winmax[0] - GRparms.winmin[0]) * 0.25, y_tick = (GRparms.winmax[1] - GRparms.winmin[1]) * 0.25, x_org = GRparms.winmin[0], y_org = GRparms.winmin[1], major_x = 1, major_y = 1, tick_size = 0.01, xlog = false, ylog = false)
- #camerainteraction(rotate_x, rotate_y, rotate_z, zoom)
- #cellarray(xmin, xmax, ymin, ymax, dimx, dimy, color)
- #clearbackground
- #clearws
- #closegks
- #closeseg
- #closews(i0)
- #colorbar
- #configurews
- #contour(xa, xb, xc, xd, i4)
- #contourf(xa, xb, xc, xd, i4)
- #copysegws(segment)
- #createseg(segment)
- #deactivatews(i0)
- #delaunay(x, y)
- #destroycontext(context)
- #drawarc(xmin, xmax, ymin, ymax, a1, a2)
- #drawarrow(x1, y1, x2, y2)
- #drawgraphics(data)
- #drawimage(xmin, xmax, ymin, ymax, width, height, data, model = 0)
- #drawpath(vertices, codes, fill)
- #drawrect(xmin, xmax, ymin, ymax)
- #emergencyclosegks
- #endgraphics
- #endprint
- #endselection
- #fillarc(xmin, xmax, ymin, ymax, a1, a2)
- #fillarea(x, y)
- #fillrect(xmin, xmax, ymin, ymax)
- #gdp(x, y, primid, datrec)
- #getgraphics
- #gradient(x, y, z, nx, ny)
- #grid(x_tick, y_tick, x_org, y_org, major_x, major_y)
- #grid3d(x_tick, y_tick, z_tick, x_org, y_org, z_org, major_x, major_y, major_z)
- #gridit(xd, yd, zd, nx, ny)
- #herrorbars(xa, xb, xc, xd)
- #hexbin(x, y, nbins)
- #hsvtorgb(h, s, v)
- #importgraphics(path)
- #initgr
- #inqbbox
- #inqbordercolorind
- #inqborderwidth
- #inqcharheight
- #inqclip
- #inqclipregion
- #inqclipsector
- #inqclipxform
- #inqcolor(color)
- #inqcolorfromrgb(red, green, blue)
- #inqcolormap
- #inqcolormapinds
- #inqdspsize
- #inqfillcolorind
- #inqfillintstyle
- #inqfillstyle
- #inqgrplotport
- #inqlinecolorind
- #inqlinetype
- #inqlinewidth
- #inqmarkercolorind
- #inqmarkersize
- #inqmarkertype
- #inqmathfont
- #inqmathtex(x, y, c)
- #inqmathtex3d(x, y, z, c, axis)
- #inqnominalsize
- #inqorthographicprojection
- #inqperspectiveprojection
- #inqprojectiontype
- #inqregenflags
- #inqresamplemethod
- #inqscale
- #inqscalefactors3d
- #inqspace
- #inqspace3d
- #inqtext(x, y, c)
- #inqtext3d(x, y, z, c, axis)
- #inqtextcolorind
- #inqtextencoding
- #inqtextext(x, y, c)
- #inqtextx(x, y, c, opts)
- #inqtransformationparameters
- #inqtransparency
- #inqviewport
- #inqvpsize
- #inqwindow
- #inqwindow3d
- #interp2(x, y, z, xq, yq, method, extrapval)
- #loadfont(filename)
- #mathtex(x, x1, c)
- #mathtex3d(x, y, z, c, axis)
- #moveselection(x, y)
- #ndctowc(x, y)
- #nonuniformcellarray(x, y, dimx, dimy, color)
- #nonuniformpolarcellarray(phi, r, dimphi, dimr, color)
- #opengks
- #openws(i0, c, i1)
- #panzoom(x, y, zoom, angle)
- #path(x, y, codes)
- #polarcellarray(x_org, y_org, phimin, phimax, rmin, rmax, dimphi, dimr, color)
- #polygonmesh3d(x, y, z, faces, colors)
- #polyline(x, y)
- #polyline3d(xa, xb, xc)
- #polymarker(x, y)
- #polymarker3d(xa, xb, xc)
- #precision
- #quiver(x, y, u, v, color)
- #readimage(path)
- #redrawsegws
- #reducepoints(x, y, n_out)
- #resizeselection(type, x, y)
- #restorestate
- #samplelocator
- #savecontext(context)
- #savestate
- #selectclipxform(transform)
- #selectcontext(context)
- #selntran(transform)
- #setarrowsize(size)
- #setarrowstyle(style)
- #setbackground(red, green, blue, alpha)
- #setbordercolorind(color)
- #setborderwidth(width)
- #setcharexpan(factor)
- #setcharheight(height)
- #setcharspace(spacing)
- #setcharup(ux, uy)
- #setclip(indicator)
- #setclipregion(region)
- #setclipsector(start_angle, end_angle)
- #setcolormap(index)
- #setcolormapfromrgb(r, g, b, x = nil)
- #setcolorrep(index, red, green, blue)
- #setcoordxform(mat)
- #setfillcolorind(color)
- #setfillintstyle(style)
- #setfillstyle(index)
- #setgrplotport(port)
- #setlinecolorind(color)
- #setlinetype(type)
- #setlinewidth(width)
- #setmarkercolorind(color)
- #setmarkersize(size)
- #setmarkertype(type)
- #setmathfont(font)
- #setnominalsize(size)
- #setorthographicprojection(left, right, bottom, top, near_plane, far_plane)
- #setperspectiveprojection(near_plane, far_plane, fov)
- #setprojectiontype(type)
- #setregenflags(flags)
- #setresamplemethod(flag)
- #setscale(options)
- #setscalefactors3d(x_axis_scale, y_axis_scale, z_axis_scale)
- #setscientificformat(format_option)
- #setsegtran(segment, fx, fy, transx, transy, phi, scalex, scaley)
- #setshadow(offsetx, offsety, blur)
- #setspace(zmin, zmax, rotation, tilt)
- #setspace3d(phi, theta, fov, camera_distance)
- #settextalign(horizontal, vertical)
- #settextcolorind(color)
- #settextencoding(encoding)
- #settextfontprec(font, precision)
- #settextoffset(xoff, yoff)
- #settextpath(path)
- #setthreadnumber(num)
- #settitles3d(x_title, y_title, z_title)
- #settransformationparameters(a0, a1, a2, a3, a4, a5, a6, a7, a8)
- #settransparency(alpha)
- #setviewport(xmin, xmax, ymin, ymax)
- #setwindow(xmin, xmax, ymin, ymax)
- #setwindow3d(xmin, xmax, ymin, ymax, zmin, zmax)
- #setwscharheight(chh, height)
- #setwsviewport(xmin, xmax, ymin, ymax)
- #setwswindow(xmin, xmax, ymin, ymax)
- #shade(x, y, lines, flip, h, xform, bins, dims)
- #shadelines(x, y, xform, w, h)
- #shadepoints(x, y, xform, w, h)
- #spline(x, y, i1, i2)
- #startlistener
- #surface(xa, xb, xc, i2)
- #text(x, x1, c)
- #text3d(x, y, z, c, axis)
- #text_maxsize
- #textext(x, x1, c)
- #textx(x, y, c, opts)
- #tick(amin, amax)
- #titles3d(c, c0, c1)
- #tricontour(x, y, z, levels)
- #trisurface(x, y, z)
- #unselectcontext
- #updategks
- #updatews
- #uselinespec(linespec)
- #validaterange(amin, amax)
- #verrorbars(xa, xb, xc, xd)
- #version
- #wc3towc(x, y, z)
- #wctondc(x, y)
Instance methods inherited from module GRCommon::Utils
to_cchar(s)
to_cchar
Instance Method Detail
def box(x_tick = (GRparms.winmax[0] - GRparms.winmin[0]) * 0.25, y_tick = (GRparms.winmax[1] - GRparms.winmin[1]) * 0.25, x_org = GRparms.winmin[0], y_org = GRparms.winmin[1], major_x = 1, major_y = 1, tick_size = 0.01, xlog = false, ylog = false)
#