Database Toolbox    

Chart Display of Results

  1. After executing a query, select Chart from the Display menu.

    The Charting dialog box appears.

  1. Select the type of chart you want to display from the Charts listbox. For example, select pie to display a pie chart.

    The preview of the chart at the bottom of the dialog box shows the result of your selection. For this example, it shows the pie chart, with each stock item appearing in a different color.

  1. Select the data you want to display in the chart from the X data, Y data, and Z data listboxes. For the pie chart example, select March from the X data list box to display a pie chart of March data.

    The preview of the chart at the bottom of the dialog box reflects the selection you made. For this example, the pie chart shows percentages for March data.

  1. To display a legend, which maps the colors to the stock numbers, check the Show legend checkbox.

    The Legend labels become available for you to select from.

  1. Select StockNumber from the Legend labels listbox.

    A legend appears in the preview of the chart.

  1. Click Display.

    The pie chart appears in a figure window. Because the display is presented in a MATLAB figure window, you can use some MATLAB figure functions such as printing or annotating the figure. For more information, use the Figure window's Help menu.

    For example:

  1. Click Close to close the Charting dialog box.

There are many different ways to present the query results using the chart feature. For more information, click Help in the Charting dialog box.


 Relational Display of Data Report Display of Results in a Table