|
From: Daniel J S. <dan...@ie...> - 2006-04-03 02:09:41
|
Petr Mikulik wrote:
>> How do I set palette to read in a binary rgb palette file for a 3d
>> image (pm3d) ?
>
>
> According to
> help palette file
> only ascii files are accepted, so convert your binary file in advance.
Petr,
Is there any objection to binary data files for the palette?
I see in set.c that the code uses "df_open()" and "df_readline()" just like in plot2d.c and plot3d.c. That's good, the idea was to make that combination common for data input, and now I see that it is also used for palettes, so there is good consistency there.
If the following were removed from "set.c", binary data files might work just fine for the palette.
if (df_binary)
int_error( c_token, "Binary palette files not implemented");
Dan
|