Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Help: EPS file generation bug for BarChart[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18371] Help: EPS file generation bug for BarChart[]
  • From: Dan Truong <dtruong at irisa.fr>
  • Date: Wed, 30 Jun 1999 14:13:32 -0400
  • Organization: IRISA, FRANCE
  • Sender: owner-wri-mathgroup at wolfram.com

I get an error, the kernel hangs, and the file is not generated when
I try to export a bar chart as shown below:

***

<<Graphics`Graphics`

PSFile[gr_,fn_String]:=
	Display[
		"!" <> $TopDirectory <> "/SystemFiles/Graphics/SystemResources/psfix >
" <> fn <> ".ps",
		gr
];
EPSFile[gr_,filename_String] := 
  Display[filename<>".eps",gr,"EPS",ImageResolution->70,
ImageSize->850];

momo = ListPlot3D[{{1,2,3},{3,2,1},{1,2,3}}];
EPSFile[momo,"tata"]

momo = BarChart[{1,2,3},{4,5,1}];
EPSFile[momo,"tata"]

momo = FilledListPlot[{1,2,3,4,1}]
EPSFile[momo,"tata"]

Graphics::"optx": "Unknown option AxesFront in Options[Graphics].

***

... and funnier, there is no AxesFront-> option when I do an
InputForm[momo].

This method does work for ListPlot[] for example, but bugs for
FilledListPlot[]
BarChart[] or ShowLegend[]. In some cases I do have explicit
AxesFront->True
appearing in the Graphics input format.

A bare-bone Display[] generating postscript works fine (try PSFile[]),
but GIF generation suffers the same problem...

How can I fix this
	A - With a workaround (like a batch removing the AxesFront->.. commands
	    I don't really know how I could do that with such a complex
list...)
	B - Correcting my unseen mistake

Dan-
-- 
Dan N. Truong,  IRISA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE
tel:(+33)2 99 84 73 36            fax:(+33)2 99 84 25 28
mailto:dtruong at irisa.fr           http://www.irisa.fr/caps/PEOPLE/Dan
gsm:06 14 78 06 95 -> http://www.sfr.fr/html/annexes/sms/sendsms.html


  • Prev by Date: [Q] BarChart & StackGraphics incompatible ?
  • Next by Date: Re: writing mathematica data to a tab delimited file??
  • Previous by thread: [Q] BarChart & StackGraphics incompatible ?
  • Next by thread: [Q] 2D graphic routines and data sets in 2D lists