Applying some Styling

With the "Properties" dialog in the "Datasets" branch of each layer, you can change color, line style and the symbol to your choice. Let me suggest to use the red line, 1.5 point thick, no symbol for layer 1 and the blue line, 1.5 point thick, no symbol for layer 2. For the details of these settings, refer to tutorial 2. Maybe you want to apply the appropriate legend. If so, then input "Amplitude" into the "Legend" textbox for layer 1 and "Acceleration" into that for layer 2.

After application of these settings, the graph should look like shown in Figure 3-9. Sorry? Ah, the frames around the legends! I have switched them off using the "Legends" dialogs of both layers.

Figure 3-9. The graph after setting color and line style.

Now we got legends - so far, so good. But who knows which axis and scaling belongs to which graph?

The best way to visualize this is to color the axis, ticks and titles themselves. Then we do not need the legends any more.

So we switch the legends off ("Legends" dialogs) and then turn to the "Frame" dialog of layer 1. In the "Properties" frame, we choose the red color from the "Color" dropdown list. If you click the "Apply" button, the bottom and the left axis will turn to red. But also the ticks are now colored in red!

Next, we choose the "Titles" dialog of the "Axes" branch (still layer 1). In the "Properties" frame, we set the "Foreground" to red. We input "amplitude [a.u.]" into the textbox of the "Label" frame.

We repeat this procedure for layer 2, this time using the blue color. And after having switched the grids on (only for layer 1), the graph has gained a lot of clarity (see Figure 3-10).

Figure 3-10. Setting text labels and axis colors...

Some of you who like perfect graphs may ask "Why aren't the x axes and ticks black? They are valid for both graphs and should not be colored!"

There are two answers. One is to generate four layers for a graph like the one in Figure 3-10. After having gone through the same procedure as described above, you would be able to color the four axes independently. The second answer is that SciGraphica develops at a very fast pace. Not every feature that one might think of has been realized yet. Nevertheless We hope that we could show you the power of at least the 2D graphics capabilities. And be sure - more things are to come soon!