[Paraview] changing the name of legend of xyplot
Karl König
kkoenig11 at web.de
Wed Oct 19 04:19:13 EDT 2011
Hi Ali,
The easiest way I can think of to accomplish this is to abuse the
Calculator filter twice prior to applying the filter you use to create
the xyplot: Use the formula "vector . iHat" and the result array name
"horizontal V" in the first Calculator filter and "vector . jHat" and
"vertical V" in the second.
Alternatively to using dot products and unit vectors, directly use the
vector components that ParaView auto-splits up and refers to as
'vector_X', 'vector_Y' in the Calculatur's filter.
Karl
Ali Rostai wrote, On 19.10.2011 04:39:
> Hi Andy,
>
> Excuse me, suddenly hit the send button...
> So in the edit view options for legend I see only
> - a check box "show the chart legend when available"
> and
> a drop box for setting the location of legend.
>
> But I want to change the text in legend. e.g. currently I see
> "vectors(0)" and
> "vectors(1)" in legend but I want to change them to "horizontal V" and
> "vertical V"
>
> Regards,
> Ali
>
>
>
> On 10/18/11, Andy Bauer <andy.bauer at kitware.com
> <mailto:andy.bauer at kitware.com>> wrote:
> > In the GUI, if you click on Edit View Options (at the top left of
> the view
> > window) you can do it there.
> >
> > Andy
> >
> > On Tue, Oct 18, 2011 at 7:42 PM, Ali Rostai <ali.rostai at gmail.com
> <mailto:ali.rostai at gmail.com>> wrote:
> >
> >> Hi,
> >>
> >> I like the change the names that appear for the legend in
> xyplots, but I
> >> can not find
> >> how to do it. How can I do this?
> >>
> >> Thanks,
> >> Ali
More information about the ParaView
mailing list