Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: line width in time series graph

From   Melanie Luen <>
To   "''" <>
Subject   RE: st: line width in time series graph
Date   Mon, 29 Oct 2012 03:48:42 +0000

That's brilliant, thanks very much.

-----Original Message-----
From: [] On Behalf Of Phil Clayton
Sent: Monday, October 29, 2012 4:41 PM
Subject: Re: st: line width in time series graph

The lwidth() option accepts a line width style *list* - a list of styles to match the list of lines. Try:
lwidth(medthick medthick)

It's often more convenient to use this syntax:
lwidth(medthick ..)

See -help linewidthstyle- and -help stylelists-


On 29/10/2012, at 2:27 PM, Melanie Luen <> wrote:

> I have created a time series graph using two panel variables using the code:
> graph twoway tsline panelvar1 panelvar2, lwidth(medthick)
> The option lwidth(medthick) only changes the thickness of the line for panelvar1 but not panelvar2. I would like to change the thickness of the line of both lines, and similarly I would like to change the colour of the first line (to say, blue) and the second line (to say, green).
> I have not adjusted any of the default graphics options.
> Appreciate any guidance.

[Auckland Council]

CAUTION: This email message and any attachments contain information that may be confidential and may be LEGALLY PRIVILEGED. If you are not the intended recipient, any use, disclosure or copying of this message or attachments is strictly prohibited. If you have received this email message in error please notify us immediately and erase all copies of the message and attachments. We do not accept responsibility for any viruses or similar carried with our email, or any effects our email may have on the recipient computer system or network. Any views expressed in this email may be those of the individual sender and may not necessarily reflect the views of Council.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index