Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Color Options for PlanarGraphPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86917] Re: Color Options for PlanarGraphPlot
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 26 Mar 2008 04:53:07 -0500 (EST)
  • References: <fsa5dd$ac2$1@smc.vnet.net>

Hi,

the ColorOutput option is for B/W or color printers.
If you prepare a book and want to use pictures generated
by Mathematica than your publisher is not always happy with
color images and you need Black/White pictures when the final
PostScript or PDF is created. For this run of your Mathematica
input, you should set ColorOutput.

But
"As of Version 6.0, ColorOutput has been superseded by ColorFunction, 
ColorData and related functions."

Regards
   Jens

BGHEkaya at gmail.com wrote:
> I am interested in applying color options to  PlanarGraphPlot. Under
> Options[PlanarGraphPlot] there is listed the option ColorOutput ->
> Automatic. Anyone know how to use this option? I have had no luck.
> Here is some sample data:
> 
> sampledata = {{0.854, 0.885}, {1.827, 4.126}, {4.255, 2.872}, {0.888,
>    4.872}, {4.507, 0.721}, {2.978, 1.998}, {3.507, 4.534}}
> 
> The best I have been able to do is to apply a color directive to the
> Line primitive- it works but the approach not very pleasing.
> 
> PlanarGraphPlot[sampledata, Frame -> True,
>   TextStyle -> {"FontSize" -> 14, "FontColor" -> Blue}] /. Line[x_] ->
> {Red, Line[x]}
> 
>  Note: using the option BaseStyle->Red makes everything in the plot
> Red. Of course, one could "undo" some of the BaseStyle by then
> applying LabelStyle, FrameStyle etc as shown below
> 
> PlanarGraphPlot[bin, Frame -> True,
>  BaseStyle -> {Red, FontSize -> 14},
>  LabelStyle -> {Black, FontSize -> 12}, FrameStyle -> Black]
> 
> Thanks much for any suggestions
> 
> 
> Brian
> 
> ps TextStyle is no longer listed as an option but still appears to work
> 


  • Prev by Date: Re: Tagged list processing
  • Next by Date: Re: Basic plotting of an evaluated function
  • Previous by thread: Color Options for PlanarGraphPlot
  • Next by thread: Re: Color Options for PlanarGraphPlot