Ticket #4 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

Graphics.Gnuplot.Frame.OptionSet.View error + FIX

Reported by: guest Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:


gnuplot expects view options in the form "view a,b,c,d" but OptionSet?.View returns "view a b c d" this throws error

set view 1.0 1.0 1.0 1.0
"curve.gp", line 3: ',' expected

FIX Swap this line

OptionSet.add Option.view [show rotateX, show rotateZ, show scale, show scaleZ]

with something like

OptionSet.add Option.view [show rotateX ++ "," ++ show rotateZ ++ "," ++ show scale ++ "," ++ show scaleZ]

Sofware Used
-gnuplot 4.4 patchlevel 4 (Gentoo revision r1)
-gnuplot Haskell 0.5
-Glasgow Haskell Compiler, Version 6.10.4

Change History

Changed 3 years ago by Lemming

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.