I have the following program. I have 5 different values for CD. Each one has a value for each month. I want to connect the points with a line and plot a different symbol for each line. However, it is not working. What gives?
axis2 label=('Month and Year') value=(h=8pt a=90);
Without the data to try it out, I'm just going on a "hunch" here, but ...
I think when you use y*x=cd it will only connect the markers that have the same value of CD.
But you can "trick" it into looking like they are connected, by first doing a plot of just the line, and then doing a plot of the different markers, and overlay them. Something like the following (not 100% sure this code will work ver-batim, since I don't have the data)...
ps - I'm assuming you don't really want to plot "by cd date", because that would produce a separate plot for each cd and each date (that's not what you want, right?)
Yes, you'll (almost) _always_ want to specify a color in your symbol statements. If you don't, then I believe it cycles through all the colors in your color list for each symbol, before it starts using the next symbol (... or something like that).
I'm not 100% sure, because I always specify a color :-)
As Robert said, you need to specify a color to make the graph procedure move to the next global statement; however, you may just want to use a color from the ODS style instead of picking a custom color. You can do this by specifying the color as _style_