Gadfly problem plotting

Hi everyone,

I’m starting with gadfly and I can’t undestand how to print the variable values, I mean.

if I want to print an array like p = [1,2,3]

Using gadfly
My plot = plot( x=1:3,y=p)

and I can do it without problem.

But, if I get in my JuMP problem that Pb(t) = [1,2,3] for t1,t2 and t3 respectively that same structure doesn’t work, JuMP suggests using isfinite but it hasn’t worked thought.

It’s posible to print variable results with gadfly or I should change plotter?

Thanks!!!

Please provide a minimum example (defining all data and showing the plot commands you are using) and copy and paste your code, quoting it using backticks.

solved.

Thank you!