Menu

Gray scale display.

2008-08-25
2013-03-15
  • Partha kotte

    Partha kotte - 2008-08-25

    Friends,
    I am using plplot 5.8. I built it on WinXP SP2. I am testing the plot with C++ examples. I am suppling driver option as (2=psc) color post script. But the output produced has only grey scale post script. Instead, when I use SVG format. I am getting color output. But I want to use color post script option. Kindly help me in this regard.

    Regards,
    Partha

     
    • Werner Smekal

      Werner Smekal - 2008-08-25

      Hi,

      are you sure, that your postscript viewer is capable of viewing color postscript files? What you could do is, produce postscript files with the ps driver (grayscale) and with the psc driver (color). These drivers are actually essentially the same. If you compare both postscript files with e.g. WinMerge you should find some (but not many) differences. For me, right at the beginning, the non-color postscript file has:

      %%Page: 1 1
      bop
      S
      1.0000 G S
      3 W S
      0.0000 G S
      0.0000 G Z

      and the color postscript file has:

      %%Page: 1 1
      bop
      B 0.0000 0.0000 0.0000 C F
      S
      0.0000 0.0000 0.0000 C S
      3 W S
      1.0000 0.0000 0.0000 C S
      1.0000 0.0000 0.0000 C Z

      Please check this first, if you get two different files. If so, you need a different postscript viewer.

      Regards,
      Werner

       

Log in to post a comment.