Ryo There is a command line switch for specifying the dxdata_path (or similar variable).
See the command line options appendix of the DX manual which has details of this and lots of other useful parameters. If this is a permanent directory structure you can specify the DXPATH as an environment variable. An alternative is to specify the folders you need using a file interactor and then select each data file explicitly. This works fine across multiple folders/drives whatever, but means the users has to specify files and it is not much good for scripting. Hope that helps Peter -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryo Furue Sent: 28 April 2004 00:09 To: [email protected] Subject: [opendx-users] data files in a different directory Hello all, I'm wondering if someone has an idea about this problem of mine. Suppose you have two directories, "dir1" and "dir2", and suppose "dir1": contains the files "plot.dx" and "data.bin". "plot.dx" refers to "data.bin", as object [...] data file data.bin,0 "dir2": contains "plot.dx" and "data.bin". "plot.dx" refers to "data.bin" in the same way as "dir1/plot.dx". Now, you want to plot these two datasets on a single image. Your visual program contains two Import modules, one referring to "dir1/plot.dx" and the other referring to "dir2/plot.dx". Unfortunately, this doesn't work because OpenDx tries to find the binary data files ("data.bin") in the current directory. Could someone help me with this? I'm wondering if you can somehow say "the same directory as this file" in the .dx file. My best solution so far is that you specify the absolute path of the binary file ("data.bin") in "plot.dx". This will sort of work, except that whenever you move or copy the whole directory to somewhere else, you would need to modify "plot.dx". Thank you, Ryo
