[Radiance-general] Where does bgraph look for .plt files?

Greg Ward gward at lmi.net
Tue Apr 15 10:34:05 PDT 2014


As I *said*, you need to determine where the files are living on your system.  I don't know.  That's why there's an environment variable.  You need to FIRST find the file "line.plt" on your system, THEN set the $MDIR variable to that location.  Simple.

-Greg

> From: Vaib <vaibhavjain.co at gmail.com>
> Subject: Re: [Radiance-general] Where does bgraph look for .plt files?
> Date: April 15, 2014 10:20:06 AM PDT
> 
> Thank you Dr.Greg,
> 
> Still it remains same.
> 
> echo $MDIR
> /usr/share/radiance/meta/
> 
> bgraph lux.plt | x11meta
> include=line.plt
> bgraph: lux.plt: File not found: line.plt
> 
> 
> Vaib
> 
> 
> 
> On 15 April 2014 18:38, Greg Ward <gregoryjward at gmail.com> wrote:
> You probably need to set the $MDIR environment variable in your .bashrc (or other) startup script.  Some default directory location gets compiled in, but it must not agree with your particular installation location.  This variable is separate from the $RAYPATH setting, but similar.  It is the only other variable you need set in Radiance, as these plotting tools predate any of the others.
> 
> Once you find where these files are located (try "/usr/share/radiance/meta" for starters), set your environment variable like so:
> 
> 	export MDIR=/usr/share/radiance/meta/
> 
> The trailing '/' is necessary in this case.
> 
> Good luck!
> -Greg
> 
>> From: Vaib <vaibhavjain.co at gmail.com>
>> Subject: [Radiance-general] Where does bgraph look for .plt files?
>> Date: April 15, 2014 9:16:28 AM PDT
>> 
>> Hello everyone!
>> 
>> I found a similar discussion on this link: 
>> http://www.radiance-online.org/pipermail/radiance-dev/2013-December/001383.html
>> 
>> But still couldn't figure out. What could be the reason?
>> 
>> When I try bgraph command, I get an error that .plt file is not found.
>> bgraph lux.plt | x11meta 
>> include=line.plt
>> bgraph: lux.plt: File not found: line.plt
>> 
>> Here is the lux.plt file:
>> include=line.plt 
>> title="Working Plane Illuminance" 
>> xlabel="Distance from Window" 
>> ylabel="Illuminance [lux]" 
>> Adata=lux.csv 
>> Acolor=2
>> 
>> line.plt file is present in:
>> /usr/share/radiance/meta
>> 
>> RAYPATH is set to:
>> echo $RAYPATH
>> .:/usr/share/radiance:
>> 
>> When I copied the line.plt file to working directory, the error is:
>> include=line.plt
>> bgraph: lux.plt: File not found: line.plt
>> 
>> When I gave absolute path of line.plt file in lux.plt file, the error is:
>> bgraph: Cannot open: /usr/share/radiance/meta/line.plt
>> 
>> Radiance version is:
>> RADIANCE 4R1+20120125-1+b1 (Debian package) 32bit
>> 
>> So the question arises, Where does bgraph look for .plt files?
>> 
>> Thank you!
>> 
>> Vaib
>> 
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140415/4a0db5c4/attachment-0001.html>


More information about the Radiance-general mailing list