Ticket #4 (new defect)

Opened 2 years ago

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

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

Description

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

Note: See TracTickets for help on using tickets.