From octave-graphics-request at bevo dot che dot wisc dot edu Sat Oct 26 15:14:32 2002 Subject: Trouble with plplot_octave From: =?iso-8859-1?Q?J=E9r=F4me_LEFEVRE?= To: Date: Sat, 26 Oct 2002 20:22:15 +1100 C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0019_01C27D2D.5FEF16E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi,=20 Recently, I have installed PLPLOT 5.1. with Octave. This plot tool is = promising. However, I would like to know more about Octave/plplot setting and = column format, cause i meet trouble. First, with plplot_octave_demo, demo x01c and x03c abort with dimension = mismatch in dimension x. In a last mail (11 Mar 2002), Douglas Eck wrote to John W. Eaton : The plplot demos do not run with my configuration with = prefer_column_vectors =3D 0 (debian sid running octave-plplot and latest 2.1 octave packages)=20 The problem is somewhere in plplot_octave.oct and so I'm not getting = a trace. I'm sure it's an easy fix but I don't have time today to track it = down. Basically x and y need to be column vectors. With, prefer_column_vectors set to 1, I can note that plplot_octave_demo = run. But, i meet trouble with my own data, like : (x and y, geographical = coordinate) x =3D 400 000 y=3D 4 000 000 400 100 4 000 100 400 200 4 000 200 ... .... N=3Dlength(x) ( with length(x)=3D length (y)=3D 2000) If i call plpoin (N,x, y) : Octave say "dimension mismatch in argument x = called from 'plpoin' " If i call plline (N,x,y) : Octave say "dimension mismatch in argument y = called from 'plline' " My octave setting are : =20 PS1 =3D ">> " PS2 =3D "" beep_on_error =3D 1.0 default_eval_print_flag =3D 0.0 default_save_format =3D "mat4-binary" define_all_return_values =3D 1.0 do_fortran_indexing =3D 1.0 empty_list_elements_ok =3D 1.0 fixed_point_format =3D 1.0 gset_mouse =3D 1.0 gnuplot_has_multiplot =3D 1 implicit_num_to_str_ok =3D 1.0 implicit_str_to_num_ok =3D 1.0 ok_to_lose_imaginary_part =3D 1.0 page_screen_output =3D 0.0 prefer_column_vectors =3D 1 prefer_zero_one_indexing =3D 1.0 print_empty_dimensions =3D 0.0 treat_neg_dim_as_zero =3D 1.0 warn_function_name_clash =3D 0.0 whitespace_in_literal_matrix =3D "traditional" Many thanks for your hint. Best regards. Jerome Lefevre. ------=_NextPart_000_0019_01C27D2D.5FEF16E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
Recently, I have installed PLPLOT 5.1. = with Octave.=20 This plot tool is promising.
 
However, I would like to know more = about=20 Octave/plplot setting and column format, cause i meet = trouble.
 
First, with plplot_octave_demo, demo = x01c and x03c=20 abort with dimension mismatch in dimension x.
 
In a last mail (11 Mar 2002), Douglas = Eck wrote to=20 John W. Eaton :
 
    The plplot demos = do not run=20 with my configuration with prefer_column_vectors =3D = 0
   =20 (debian sid running octave-plplot and latest 2.1 octave packages)=20
    The problem is = somewhere in=20 plplot_octave.oct and so I'm not getting a trace.
    = I'm sure=20 it's an easy fix but I don't have time today to track it down.=20 Basically
    x and y need to be column=20 vectors.
 
With, prefer_column_vectors set to 1, I = can note=20 that plplot_octave_demo run.
 
But, i meet trouble with my own data, = like : (x and=20 y, geographical coordinate)
x =3D 400=20 000        y=3D 4 000 = 000
      400=20 100            4 = 000=20 100
      400=20 200            4 000=20 200
    =20 ...           &nbs= p;      =20 ....
N=3Dlength(x)       ( with = length(x)=3D=20 length (y)=3D 2000)
 
If i call plpoin (N,x, y) : Octave say = "dimension=20 mismatch in argument x called from 'plpoin' "
If i call plline (N,x,y) : Octave say = "dimension=20 mismatch in argument y called from 'plline' "
 
My octave setting are :
 
  PS1 =3D ">> "
  = PS2 =3D=20 ""
  beep_on_error =3D 1.0
  default_eval_print_flag =3D = 0.0
  default_save_format =3D "mat4-binary"
 =20 define_all_return_values =3D 1.0
  do_fortran_indexing =3D = 1.0
 =20 empty_list_elements_ok =3D 1.0
  fixed_point_format =3D = 1.0
 =20 gset_mouse =3D 1.0
  gnuplot_has_multiplot =3D 1
 =20 implicit_num_to_str_ok =3D 1.0
  implicit_str_to_num_ok =3D = 1.0
 =20 ok_to_lose_imaginary_part =3D 1.0
  page_screen_output =3D = 0.0
 =20 prefer_column_vectors =3D 1
  prefer_zero_one_indexing =3D = 1.0
 =20 print_empty_dimensions =3D 0.0
  treat_neg_dim_as_zero =3D = 1.0
 =20 warn_function_name_clash =3D 0.0
  whitespace_in_literal_matrix = =3D=20 "traditional"
 
Many thanks for your hint.
 
Best regards.
 
Jerome=20 Lefevre.
------=_NextPart_000_0019_01C27D2D.5FEF16E0--