Quiver 3.0.3

Quiver 3.0.3

Plot a 2D field of arrows.

Call signature:

Where X, Y define the arrow locations, U, V define the arrowdirections, and C optionally sets the color.

Where X, Y define the arrow locations, U, V define the arrow directions, and C optionally sets the color. The default settings auto-scales the length of the arrows to a reasonable size. To change this behavior see the scale and scaleunits parameters. The defaults give a slightly swept-back arrow; to make the head a triangle, make headaxislength the same as headlength.

Arrow size

The default settings auto-scales the length of the arrows to a reasonable size.To change this behavior see the scale and scale_units parameters.

Arrow shape

The defaults give a slightly swept-back arrow; to make the head atriangle, make headaxislength the same as headlength. To make thearrow more pointed, reduce headwidth or increase headlength andheadaxislength. To make the head smaller relative to the shaft,scale down all the head parameters. You will probably do best to leaveminshaft alone.

Arrow outline

linewidths and edgecolors can be used to customize the arrowoutlines.

Parameters:
X, Y1D or 2D array-like, optional

The x and y coordinates of the arrow locations.

If not given, they will be generated as a uniform integer meshgrid basedon the dimensions of U and V.

If X and Y are 1D but U, V are 2D, X, Y are expanded to 2Dusing X,Y=np.meshgrid(X,Y). In this case len(X) and len(Y)must match the column and row dimensions of U and V.

U, V1D or 2D array-like

The x and y direction components of the arrow vectors.

They must have the same number of elements, matching the number of arrowlocations. U and V may be masked. Only locations unmasked inU, V, and C will be drawn.

C1D or 2D array-like, optional

Numeric data that defines the arrow colors by colormapping via norm andcmap.

This does not support explicit colors. If you want to set colors directly,use color instead. The size of C must match the number of arrowlocations.

units{'width', 'height', 'dots', 'inches', 'x', 'y' 'xy'}, default: 'width'

The arrow dimensions (except for length) are measured in multiples ofthis unit.

The following values are supported:

  • 'width', 'height': The width or height of the axis.
  • 'dots', 'inches': Pixels or inches based on the figure dpi.
  • 'x', 'y', 'xy': X, Y or (sqrt{X^2 + Y^2}) in data units.

The arrows scale differently depending on the units. For'x' or 'y', the arrows get larger as one zooms in; for otherunits, the arrow size is independent of the zoom state. For'width or 'height', the arrow size increases with the width andheight of the axes, respectively, when the window is resized;for 'dots' or 'inches', resizing does not change the arrows.

angles{'uv', 'xy'} or array-like, optional, default: 'uv'

Method for determining the angle of the arrows.

  • 'uv': The arrow axis aspect ratio is 1 so thatif UV the orientation of the arrow on the plot is 45 degreescounter-clockwise from the horizontal axis (positive to the right).

    Use this if the arrows symbolize a quantity that is not based onX, Y data coordinates.

  • 'xy': Arrows point from (x, y) to (x+u, y+v).Use this for plotting a gradient field, for example.

  • Alternatively, arbitrary angles may be specified explicitly as an arrayof values in degrees, counter-clockwise from the horizontal axis.

    In this case U, V is only used to determine the length of thearrows.

Note: inverting a data axis will correspondingly invert thearrows only with angles='xy'.

scalefloat, optional

Number of data units per arrow length unit, e.g., m/s per plot width; asmaller scale parameter makes the arrow longer. Default is None.

If None, a simple autoscaling algorithm is used, based on the averagevector length and the number of vectors. The arrow length unit is given bythe scale_units parameter.

scale_units{'width', 'height', 'dots', 'inches', 'x', 'y', 'xy'}, optional

If the scale kwarg is None, the arrow length unit. Default is None.

e.g. scale_units is 'inches', scale is 2.0, and (u,v)=(1,0),then the vector will be 0.5 inches long.

If scale_units is 'width' or 'height', then the vector will be half thewidth/height of the axes.

If scale_units is 'x' then the vector will be 0.5 x-axisunits. To plot vectors in the x-y plane, with u and v havingthe same units as x and y, useangles='xy',scale_units='xy',scale=1.

widthfloat, optional

Shaft width in arrow units; default depends on choice of units,above, and number of vectors; a typical starting value is about0.005 times the width of the plot.

headwidthfloat, optional, default: 3

Head width as multiple of shaft width.

headlengthfloat, optional, default: 5

Head length as multiple of shaft width.

headaxislengthfloat, optional, default: 4.5

Head length at shaft intersection.

minshaftfloat, optional, default: 1

Length below which arrow scales, in units of head length. Do notset this to less than 1, or small arrows will look terrible!

minlengthfloat, optional, default: 1

Minimum length as a multiple of shaft width; if an arrow lengthis less than this, plot a dot (hexagon) of this diameter instead.

pivot{'tail', 'mid', 'middle', 'tip'}, optional, default: 'tail'

The part of the arrow that is anchored to the X, Y grid. The arrowrotates about this point.

'mid' is a synonym for 'middle'.

colorcolor or color sequence, optional

Explicit color(s) for the arrows. If C has been set, color has noeffect.

This is a synonym for the PolyCollectionfacecolor parameter.

Other Parameters:
**kwargsPolyCollection properties, optional

All other keyword arguments are passed on to PolyCollection:

PropertyDescription
agg_filtera filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array
alphafloat or None
animatedbool
antialiased or aa or antialiasedsbool or sequence of bools
arrayndarray
capstyle{'butt', 'round', 'projecting'}
clim(vmin: float, vmax: float)
clip_boxBbox
clip_onbool
clip_pathPatch or (Path, Transform) or None
cmapcolormap or registered colormap name
colorcolor or sequence of rgba tuples
containscallable
edgecolor or ec or edgecolorscolor or sequence of colors or 'face'
facecolor or facecolors or fccolor or sequence of colors
figureFigure
gidstr
hatch{'/', ', '|', '-', '+', 'x', 'o', 'O', '.', '*'}
in_layoutbool
joinstyle{'miter', 'round', 'bevel'}
labelobject
linestyle or dashes or linestyles or ls{'-', '--', '-.', ':', ', (offset, on-off-seq), ...}
linewidth or linewidths or lwfloat or sequence of floats
normNormalize
offset_position{'screen', 'data'}
offsetsarray-like (N, 2) or (2,)
path_effectsAbstractPathEffect
pickerNone or bool or float or callable
pickradiusunknown
rasterizedbool or None
sketch_params(scale: float, length: float, randomness: float)
snapbool or None
transformTransform
urlstr
urlsList[str] or None
visiblebool
zorderfloat

See also

quiverkey
Add a key to a quiver plot.

Quiver: The Programmer’s Notebook 3.0.3

Description

Quiver is a notebook built for programmers. It lets you easily mix text, code, Markdown and LaTeX within one note, edit code with an awesome code editor, live preview Markdown and LaTeX, and find any note instantly via the full-text search.

# Mix Text, Code, Markdown and LaTeX

A note in Quiver is comprised of cells — snippets of text, code, Markdown, LaTeX (via MathJax) or diagrams (sequence diagram, flowchart). You can freely mix different cell types within one note. You can set different languages for different code cells, too.

# An Awesome Code Editor

The programmer’s notebook should make code editing effortless. Quiver packs the awesome ACE code editor in code cells, with syntax highlighting support for more than 120 languages, over 20 themes, automatic indent and outdent, and much more.

# Markdown Support

Quiver lets you write in Markdown with inline formatting and custom CSS options. A live preview window renders Markdown as you type.

# LaTeX Support

Quiver uses MathJax to typeset mathematical equations written in LaTeX. Please note that MathJax doesn’t provide a full LaTeX environment. Only math-mode macros are supported.

# Images, Files and Links

Quiver 3.0.3 pictures

Drag an image into a text cell and it will be saved locally with the note. Drag a file into a text cell and it will become a clickable file link. URLs in text cells are automatically detected.

# Instant Full-Text Search

Notes are only useful if you can find them quickly. Quiver’s full-text search is based on Search Kit, the same technology used to power Spotlight on your mac. That’s how Quiver can search through thousands of notes in a blink of an eye.

# Beautiful, Fully Customizable Themes

Quiver comes with several beautifully designed UI themes, and they are fully customizable.

# Live Preview

Quiver supports live preview of Markdown and LaTeX cells.

# Presentation Mode

Quiver provides a full-screen presentation mode for your notes. This is great for classroom use, team meetings, presentations, as well as reviewing notes on your own.

# Tags

Quiver has tagging support. You can assign multiple tags to a note or assign a tag to multiple notes at once. Combined with notebooks and linked notes, you have many different ways to organize your notes.

# Autosave

Quiver automatically saves all your changes as you work, so you never need to worry about losing changes.

# Plain JSON Data Format

Quiver saves all your data in plain JSON files. These data files reside on your local machine. You can easily export your notes in different format such as HTML and PDF.

# Cloud Syncing

Quiver lets you sync all your notes across multiple computers via Dropbox, iCloud Drive, Google Drive, or any other file-based cloud services.

# Team Collaboration

It’s easy to collaborate in Quiver. You can create a shared notebook so everyone on your team can view or edit notes in the notebook. This is a great way to build a shared knowledge base for the team.

# Version Control

Since Quiver stores all the data in plain JSON files, it’s easy to put the whole library (or a specific notebook) under version control. This is another way to collaborate with your team.

# Backup and Recovery

Quiver lets you back up your entire library with a single click. Restoring your library from a backup is just as easy.

# Integrations

Quiver doesn’t lock you in. It stores data in a well-documented plain JSON format. So it’s easy to write scripts to integrate Quiver notes with other tools you use. Common scripts are provided on the Quiver documentation site.

# Tutorials and Documentation

Quiver 3.0.3 Mean

Quiver comes with in-app tutorials and a comprehensive online wiki. Anyone can contribute to the wiki and make it better.

Quiver 3.0.3 3d

What’s New in Version 3.0.3

* Fixed an issue with pasting a URL from Chrome’s address bar

Quiver 3.0.3 6

Developer: HappenApps, Inc.

Comments are closed.