03.04. Combining Graphs of Expressions and Points: the display( ) command
03.04. Вывод комбинации графических объектов: команда display
A special plotting package called plots contains many additional graphing features. To use these commands, you need to execute the following line which loads plots . Recall, the colon at the end of the statement allows this line to be executed without displaying any distracting output.
Графический пакет plots , куда включена команда plot , обладает многими замечательными возможностями. Чтобы использовать команды пакета, вначале нужно активизировать пакет. "Бывалый" пользователь для этого воспользуется инертной командой:
> with(plots):
Warning, the name changecoords has been redefined
To see the contents of plots you can change the colon to a semicolon.
А если строку завершить точкой с запятой, то Maple выведет полный список содержащихся в пакете команд:
> with(plots);
The display( ) command allows you to combine graphs of expressions and points in the same picture. The first step is to name the individual picture components. IMPORTANT: Be sure to use a colon at the end of the line to suppress output (see first three lines below). The display( ) command is then used to do the actual plot (this ends with a semicolon).
Специальная команда display позволяет одновременно, в одних и тех же осях координат, выводить графические объекты различной природы. Чтобы ею воспользоваться, каждому графическому объекту нужно присвоить имя, каждую строку присваивания закончить двоеточием, а саму команду завершить символом " точка с запятой ". (В случае завершения команды двоеточием, Maple построит график лишь "в уме"):
Alternatively we can list these three related plot commands in a single execution group by typing SHIFT-ENTER at end of each line.
Альтернативный вариант : объединить все команды в одну группу выполнения, нажимая в конце ввода каждой командной строки.
For more on this see " Execution groups with more than one command" in the section Notes on the Maple Worksheet Interface at the end of this tutorial.
Для более полной информации по этому вопросу смотрите " Группы выполнения с более чем одной командой " в Заметках об интерфейсе Maple Worksheet.
С официального разрешения © 2002 Waterloo Maple, Inc