EnglishFrenchSpanish

OnWorks favicon

d.rast.leggrass - Online in the Cloud

Run d.rast.leggrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command d.rast.leggrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


d.rast.leg - Displays a raster map and its legend on a graphics window

KEYWORDS


display, cartography, legend

SYNOPSIS


d.rast.leg
d.rast.leg --help
d.rast.leg [-fns] map=name [lines=integer] [raster=name] [--help] [--verbose]
[--quiet] [--ui]

Flags:
-f
Flip legend

-n
Omit entries with missing label

-s
Draw smooth gradient

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
map=name [required]
Name of raster map to display

lines=integer
Number of lines to appear in the legend

raster=name
Name of input raster map to generate legend from

DESCRIPTION


d.rast.leg shows a raster map along with its legend. It first clears the entire screen,
then divides it into a main (left) and a minor (right) frames, and displays a raster map
in the main frame and the map legend in the minor frame. The main frame remains active
when the program finishes.

NOTES


The legend may be flipped with the -f flag.

If the lines parameter is not given then the legend frame will display as many lines as
number of categories in the map, otherwise, it will display the first lines minus 1
categories with the rest being truncated.

The user may adjust the lines parameter or the size of graphics window to get an
appropriate result.

The user may specify a second raster map with the raster parameter from which the legend
is generated. This is useful to visualize (time) series of raster maps with a common
static legend instead of the default dynamic legend.

To remove all frames when clearing the display, use d.erase -f.

EXAMPLE


In this example, the polar diagram of the ’aspect’ angle map in the North Carolina sample
dataset location is generated:
g.region raster=landclass96 -p
d.rast.leg landclass96

Use d.rast.leggrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • More »

Linux commands

Ad