Dear Joel,
in that case, it is quite easy to fix it: simply replace 'x
expr=\thisrowno{0}' by 'x index=0'. The 'x index' thing expects numbers
rather than expressions, and the simple number parser has no implicit
assumptions on base prefixes.
Best regards
Christian
Am 01.07.2011 07:09, schrieb Joel:
> Hello Christian,
>
> Thanks for the prompt reply.
>
> Here is a minimal example:
> \documentclass{article}
> \usepackage{pgfplots}
> \begin{document}
>
> \begin{tikzpicture}
> \begin{axis}
> \addplot table[x expr=\thisrowno{0}, y expr=\thisrowno{1}]{f};
> \end{axis}
> \end{tikzpicture}
> \end{document}
>
> where the file f contains:
> 020 1
> 028 2
> 029 3
> 030 4
>
> Processing the tex file gives:
> ! Package PGF Math Error: Digit `8' invalid for base 8 (in '028').
>
> TIA,
> Joel.
>
> --- On Fri, 1/7/11, Christian Feuersaenger<[email protected]>
> wrote:
>
>> From: Christian Feuersaenger<[email protected]>
>> Subject: Re: [Pgfplots-features] Octal numbers?
>> To: [email protected]
>> Date: Friday, 1 July, 2011, 2:27 AM
>> Hi Joel,
>>
>> I believe that interpretation depends on the context - I
>> believe the
>> answer to your question is: yes, it should be possible.
>>
>> Can you send us a minimal example demonstrating how you
>> load the file
>> (there are different methods)?
>>
>> Best regards
>>
>> Christian
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features