Example: bachelor of science

SyntaxDescriptionRemarks and examplesAlso see

Choices for the shape of markersSyntaxDescriptionRemarks and examplesAlso seeSyntaxSynonymsymbolstyle(if any)Descriptioncircle Osoliddiamond Dsolidtriangle Tsolidsquare Ssolidplus +X Xsmcircle osolidsmdiamond dsolidsmsquare ssolidsmtriangle tsolidsmplussmx xcirclehollow Ohhollowdiamondhollow Dhhollowtrianglehollow Thhollowsquarehollow Shhollowsmcirclehollow ohhollowsmdiamondhollow dhhollowsmtrianglehollow thhollowsmsquarehollow shhollowpoint pa small dotnone ia symbol that is invisibleFor a symbol palette displaying each of the above symbols, typepalette symbolpalette[, scheme(schemename)]Othersymbolstylesmay be available; type.

symbolstyle — Choices for the shape of markers 3 Filled and hollow symbols The symbolstyle specifies the shape of the symbol, and in that sense, one of the styles circle and hcircle—and diamond and hdiamond, etc.—is unnecessary in that each is a different rendition

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of SyntaxDescriptionRemarks and examplesAlso see

1 Choices for the shape of markersSyntaxDescriptionRemarks and examplesAlso seeSyntaxSynonymsymbolstyle(if any)Descriptioncircle Osoliddiamond Dsolidtriangle Tsolidsquare Ssolidplus +X Xsmcircle osolidsmdiamond dsolidsmsquare ssolidsmtriangle tsolidsmplussmx xcirclehollow Ohhollowdiamondhollow Dhhollowtrianglehollow Thhollowsquarehollow Shhollowsmcirclehollow ohhollowsmdiamondhollow dhhollowsmtrianglehollow thhollowsmsquarehollow shhollowpoint pa small dotnone ia symbol that is invisibleFor a symbol palette displaying each of the above symbols, typepalette symbolpalette[, scheme(schemename)]Othersymbolstylesmay be available; type.

2 Graph query symbolstyleto obtain the complete list ofsymbolstylesinstalled on your Choices for the shape of markersDescriptionMarkers are the ink used to mark where points are on a plot; see [G-3] the shape of the specify thesymbolstyleinside themsymbol()option allowed with many of thegraphcommands:. graph twoway.., msymbol(symbolstyle)..Sometimes you will see that asymbolstylelistis allowed:. scatter.., msymbol(symbolstylelist)..Asymbolstyleli stis a sequence ofsymbolstylesseparated by spaces. Shorthands are allowed tomake specifying the list easier; see [G-4] and are presented under the following headings:Typical useFilled and hollow symbolsSize of symbolsTypical usemsymbol(symbolstyle)is one of the more commonly specified options. For instance, you may notbe satisfied with the default rendition of. scatter mpg weight if foreign ||scatter mpg weight if !foreignand prefer. scatter mpg weight if foreign, msymbol(oh) ||scatter mpg weight if !

3 Foreign, msymbol(x)When you are graphing multipleyvariables in the same plot, you can specify a list ofsymbolstylesinside themsymbol()option:. scatter mpg1 mpg2 weight, msymbol(oh x)The result is the same as typing. scatter mpg1 weight, msymbol(oh) ||scatter mpg2 weight, msymbol(x)Also, in the above, we specified the symbol-style synonyms. Whether you type. scatter mpg1 weight, msymbol(oh) ||scatter mpg2 weight, msymbol(x)or. scatter mpg1 weight, msymbol(smcircle_hollow) ||scatter mpg2 weight, msymbol(smx)makes no Choices for the shape of markers 3 Filled and hollow symbolsThesymbolstylespecifies theshapeof the symbol, and in that sense, one of the stylescircleandhcircle anddiamondandhdiamond, etc. is unnecessary in that each is a different renditionof the same shape. The optionmfcolor(colorstyle)(see [G-3]markeroptions) specifies how theinside of the symbol is to be (),hdiamond, etc., are included for convenience andare equivalent to specifyingmsymbol(Oh):msymbol(O) mfcolor(none)msymbol(dh):msymbol(d) mfcolor(none) ()to fill the inside of a symbol with different colors sometimes creates what areeffectively new symbols.

4 For instance, if you takemsymbol(O)and fill its interior with a lightershade of the same color used to outline the shape, you obtain a pleasing result. For instance, youmight trymsymbol(O) mlcolor(yellow) mfcolor(.5*yellow)ormsymbol(O) mlcolor(gs5) mfcolor(gs12)as in. scatter mpg weight, msymbol(O) mlcolor(gs5) mfcolor(gs14)10203040 Mileage (mpg)2,0003,0004,0005,000 Weight (lbs.)Size of symbolsJust asmsymbol(O)andmsymbol(Oh)differ only inmfcolor(),msymbol(O)andmsymbol(o) symbolscircleandsmcircle differ only inmsize(). In particular,msymbol(O):msymbol(O) msize(medium)msymbol(o):msymbol(O) msize(small)and the same is true for all the other large and small symbol Choices for the shape of markersmsize()is interpreted as being relative to the size of the graph region (see [G-3]regionoptions),so the same symbol size will in fact be a little different in. scatter mpg weightand. scatter mpg weight, by(foreign total)Also see[G-3]markeroptions Options for specifying markers[G-4]colorstyle Choices for color[G-4]linepatternstyle Choices for whether lines are solid, dashed, etc.

5 [G-4]linestyle Choices for overall look of lines[G-4]linewidthstyle Choices for thickness of lines[G-4]markersizestyle Choices for the size of markers[G-4]markerstyle Choices for overall look of markers


Related search queries