Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Pie chart problem


From   Philip Burgess <philip.burgess.uq@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Pie chart problem
Date   Thu, 18 Feb 2010 21:30:48 +1000

Thanks Maarten - much appreciated but, alas, with no joy.

My next strategy is do do a series of 'vanilla' pie chart with no
options and then build it up to try to isolate the problem.

Will let you know how this pans out.

Again, thanks for your time - really valuable.

Asides the current trauma, I must say Michael Mitchell's 2nd ed VGSG
has been terrific - highly recommend for fellow travelers

Philip



On Thu, Feb 18, 2010 at 9:08 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
>
> Looks like a case for Stata tech support to me...
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Philip Burgess
> Gesendet: Donnerstag, 18. Februar 2010 11:59
> An: statalist@hsphsun2.harvard.edu
> Betreff: Re: st: Pie chart problem
>
> Right - tried this.
>
> So, per my original posting I ran the script that should generate 2
> pie charts with the only difference being the 'collocc' parameter set
> to 2 in the second run.
>
> There are no missing labels (based on my checking via tab1 on the key
> variables)
>
> I ran my code with set trace on - I set this immediately before the
> first command - and it generated 4.21 million lines of output! (The
> log file is 214 MB so not super friendly to share!)
>
> But did crash - I've pasted what I think is the region for further
> inspection - it's hard for me to be certain that this is what would
> help:
>
>
> --------------------------------------------------------------------------
> end pos_textbox.new ---
>                      - .plab_dex[`il'] = `dex'
>                      = .plab_dex[1] = 2
>                      - if 0`sharesty' {
>                      = if 01 {
>                      - if (`dex' > 1) .plabel[`il'].style.ref =
> .plabel[`il'-`dex'+1].style.ref
>                      = if (2 > 1) .plabel[1].style.ref =
> .plabel[1-2+1].style.ref
> plabel[1-2+1].style.ref: class type not found
>                        .plabel[`il'].already_custom = 0
>                        }
>
> ----------------------------------------------------------------------
> end piegraph_g.MakePlabel ---
>
> Appreciate your advice Maarten.
>
> Interestingly I run a related series of bar charts on the same data
> with no problem - it's just with the pie charts.
>
> Happy to send my bar code if you think that would help ..
>
> Philip
>
>
>
>
>
> On Thu, Feb 18, 2010 at 8:14 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>>
>> <>
>>
>>
>> -set trace on- and look at the error region!
>>
>> What changes once you condition on "collocc == 2" instead of "collocc ==
> 1"?
>> Is there a missing label that is only relevant for the former group?
>>
>>
>>
>> HTH
>> Martin
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Philip
> Burgess
>> Gesendet: Donnerstag, 18. Februar 2010 11:00
>> An: statalist@hsphsun2.harvard.edu
>> Betreff: Re: st: Pie chart problem
>>
>> Thanks Maarten;
>>
>> I had updated a few days ago but in any event followed your advice and
>> updated again.
>>
>> No joy - same issue.
>>
>> Philip
>>
>> On Thu, Feb 18, 2010 at 6:16 PM, Maarten buis <maartenbuis@yahoo.co.uk>
>> wrote:
>>> --- On Thu, 18/2/10, Philip Burgess wrote:
>>>> plabel[1-2+1].style.ref: class type not found
>>>> r(4018);
>>>
>>> These type of mysterious error messages can
>>> sometimes occur when the update of Stata was
>>> incomplete. So try typing in Stata:
>>>
>>> update all
>>> update swap
>>>
>>> and than try again.
>>>
>>> Hope this helps,
>>> Maarten
>>>
>>> --------------------------
>>> Maarten L. Buis
>>> Institut fuer Soziologie
>>> Universitaet Tuebingen
>>> Wilhelmstrasse 36
>>> 72074 Tuebingen
>>> Germany
>>>
>>> http://www.maartenbuis.nl
>>> --------------------------
>>>
>>>
>>>
>>>
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index