Dear list

I have a problem to get a plot with given aspect ratio.
I'm using python interface and plplot-5.9.2.
Documentation says that 
"The routine plvasp gives the largest viewport with the given aspect ratio 
that fits in the current subpage (i.e. the ratio of the length of the y axis to 
that of the x axis is equal to aspect)." 

E.g., if I use plvasp(.3) I have a lot of space in vertical regions outside of 
plotting domain. I can easily cut the graph from the relevant viewers. 
Is it possible to get the result in the normal way?

Yet, there are some problem with cairo devices within interactive python 
interface. I can use it only one time per python session. E.g., if I save the 
plot to one of cairo dev, then in the next try to do the same I get 

>>> ## working on region in file /home/va/tmp/python-15892G8I.py...
8.82010989643e-05 -6.65879061831e-05

(process:16189): GLib-GObject-WARNING **: cannot register existing type 
`PangoCairoFcFontMap'

(process:16189): GLib-GObject-WARNING **: cannot register existing type 
`PangoCairoFontMap'

(process:16189): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: 
assertion `G_TYPE_IS_INTERFACE (interface_type)' failed

(process:16189): GLib-GObject-CRITICAL **: g_type_add_interface_static: 
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:16189): GLib-CRITICAL **: g_once_init_leave: assertion 
`initialization_value != 0' failed

(process:16189): GLib-GObject-CRITICAL **: g_object_new: assertion 
`G_TYPE_IS_OBJECT (object_type)' failed

(process:16189): Pango-CRITICAL **: pango_font_map_create_context: assertion 
`fontmap != NULL' failed

(process:16189): Pango-CRITICAL **: pango_cairo_update_context: assertion 
`PANGO_IS_CONTEXT (context)' failed

(process:16189): Pango-CRITICAL **: pango_layout_new: assertion `context != 
NULL' failed

(process:16189): GLib-GObject-CRITICAL **: g_object_unref: assertion 
`G_IS_OBJECT (object)' failed

(process:16189): Pango-CRITICAL **: pango_layout_set_markup_with_accel: 
assertion `PANGO_IS_LAYOUT (layout)' failed

(process:16189): Pango-CRITICAL **: pango_layout_get_pixel_extents: assertion 
`PANGO_IS_LAYOUT (layout)' failed

(process:16189): Pango-CRITICAL **: pango_layout_get_context: assertion 
`layout != NULL' failed

(process:16189): Pango-CRITICAL **: pango_cairo_context_set_font_options: 
assertion `PANGO_IS_CONTEXT (context)' failed

Process Python Ошибка сегментирования

So, to proceed further I need to restart python!
I'm on altlinux, with 
Python 2.5.4 (r254:67916, Feb 20 2009, 23:10:36) 
[GCC 4.3.2 20081105 (ALT Linux 4.3.2-alt7)] on linux2

and i'm using plplot-5.9.2

best regards
Valery

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to