Hello everyone. I have 2 Vector<double> vectors A and B of the same size,n. 
I want to plot A vs B (A along x and B along y). I was trying something 
like this:
 DataOut<1,Vector<double> > data_out;
  data_out.add_data_vector (A, "A");
  data_out.add_data_vector (B, "B");

  // Write the Gnuplot file
  data_out.build_patches ();
  data_out.write_gnuplot (deallog.get_file_stream());
 but it gives these errors:
error: type/value mismatch at argument 2 in template parameter list for 
‘template<int dim, int spacedim> class dealii::DataOut’
 expected a constant of type ‘int’, got ‘dealii::Vector<double>’


-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/4adda2b6-751e-43be-8fe3-bd6770e855d7n%40googlegroups.com.

Reply via email to