311 integer quotient 9 integer remainder 9 polynomial

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hics, use the following command to once again display graphics in your worksheet. > plotsetup( inline ); For a description of the plotting devices supported in Maple, refer to the ?plot,device help page. 8.5 Conclusion In this chapter, you have seen a number of Maple elementary input and output facilities: how to print graphics, how to save and retrieve individual Maple expressions, how to read and write numerical data, and how to A export a Maple worksheet as a L TEX or HTML document. In addition, Maple has many low-level input and output commands, such as fprintf, fscanf, writeline, readbytes, fopen, and fclose. Refer to the corresponding help pages for details. 300 • Chapter 8: Input and Output 9 Maplet User Interface Customization System By using the Maplets package, you can create windows, dialogs, and other visual interfaces that interact with a user to provide the power of Maple. Users can perform calculations, or plot functions without using the worksheet interface. This chapter is intended primarily for Maplet application users. Some information may be helpful to Maplet application authors. In This Chapter • Example Maplet • Terminology • How to Start the Maplets Package • How to Invoke a Maplet Application from the Maple Worksheet • How to Close a Maplet Application • How to Work With Maplet Applications and the Maple Window • How to Activate a Maplet Application Window • How to Terminate and Restart a Maplet Application • How to Use Graphical User Interface Shortcuts 301 302 • Chapter 9: Maplet User Interface Customization System 9.1 Example Maplet Application As a Maplet application author, you can create an interface that requests user input. For example, you can create an integration Maplet application with the following appearance and components. 9.2 Terminology Maplet Application A Maplet application is a collection of elements, including, but not limited to, windows, their associated layouts, dialogs, and actions. A Maplet application differs from windows and dialogs in that it contains windows and dialogs. 9.3 How to Start the Maplets Package • 303 Maplet Application Author A programmer who uses Maple code to write a Maplet application. Maplet Application User Someone who interacts with a Maplet application. Layout Layout defines how elements within a Maplet application are displayed. Window A window is a Maplet application element. A window should not be thought of as a Maplet application, but rather as one element within a Maplet application. A Maplet application can contain more than one window. Each window can contain many elements that control the layout and function of the window. Dialog A dialog is a Maplet application element. Unlike a window, which can contain elements, for example, buttons or layout elements, a dialog element has a predefined structure. An author can specify options for a dialog, but cannot add elements. 9.3 How to Start the Maplets Package If you receive a Maple worksheet with Maplet application code, you must first invoke the Maplets package. Press the Enter key after these two possible execution groups: > > restart: with(Maplets[Elements]); 9.4 How to Invoke a Maplet Application from the Maple Worksheet To start a maplet, press the Enter key after the last colon (:), semicolon (;), or anywhere in an execution group to execute the Maplet application code. In the following example, the Maplet application is written as one execution group. You can...
View Full Document

This note was uploaded on 08/27/2012 for the course MATH 1100 taught by Professor Nil during the Spring '12 term at National University of Singapore.

Ask a homework question - tutors are online