Re: put string and ref arrow horizontally。 Thanks for reply!

From: Zhuanshi He <zhuanshi.he_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 11 2010 - 21:00:46 MDT

Hi BianH,

It looks I misunderstood your question. Maybe you are looking for

   - vcRefAnnoString1

Specifies the string to use above or to the left (depending on the current
value of vcRefAnnoOrientation) of the arrow in the reference vector
annotation. The string may contain function codes and/or substitution
substrings.

vcMagnitudeFormat determines the format of all numbers related to the vector
field, and all numbers, except for the number generated from the
substitution substring $MSF$, are scaled by the value of
vcMagnitudeScaleFactorF. vcScalarValueFormat determines the format of all
numbers related to the scalar field, and all numbers, except for the number
generated from the substitution substring $SSF$, are scaled by the value of
vcScalarValueScaleFactorF.

Default: "$VMG$"

   - vcRefAnnoString1On

If this boolean resource is set False, VectorPlot will not display a string
above or to the left (depending on the current value of
vcRefAnnoOrientation) of the reference annotation arrow. Otherwise, the
string will be displayed.

Default: True (False for some of the gsn_csm_vector_xxx plotting functions)

   - vcRefAnnoString2

Specifies the string to use above or to the left (depending on the current
value of vcRefAnnoOrientation) of the arrow in the reference vector
annotation. The string may contain function codes and/or substitution
substrings.

vcMagnitudeFormat determines the format of all numbers related to the vector
field, and all numbers, except for the number generated from the
substitution substring $MSF$, are scaled by the value of
vcMagnitudeScaleFactorF. vcScalarValueFormat determines the format of all
numbers related to the scalar field, and all numbers, except for the number
generated from the substitution substring $SSF$, are scaled by the value of
vcScalarValueScaleFactorF.

Default: "Reference Vector"

   - vcRefAnnoString2On

If this boolean resource is set False, VectorPlot will not display a string
below or to the right (depending on the current value of
vcRefAnnoOrientation) of the reference annotation arrow. Otherwise, the
string will be displayed.

Default: True

unfortunately, it looks *vcRefAnnoOrientation NOT YET IMPLEMENTED* (see,
http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcRefAnnoOrientation)

This resource of type NhlTOrientation specifies whether the elements of the
reference vector annotation (two strings with an arrow representing a vector
magnitude in between) are stacked vertically or placed side by side
horizontally.

Default: Vertical

ZHUANSHI

2010/10/11 bianh_522 <bianh_522@163.com>

> Hi ZhuanShi,
> Thanks for your attention. I tried these parameters,but it doesn't
> work. They move the vector and strings altogether. Anyway, Thanks for help
> sincerely!
>
> Best
> BianH
>
>
>
>
>
> At 2010-10-12 10:19:59,"Zhuanshi He" <zhuanshi.he@gmail.com> wrote:
>
> Hi BianH,
>
> Please check VectorPlot (vc) Resources "vcRefAnnoOrthogonalPosF" ,
> "vcRefAnnoParallelPosF" and "vcRefAnnoSide" @
> http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml
>
> one example is vector_3.ncl accessible through
> http://www.ncl.ucar.edu/Applications/vector.shtml
>
> vcRefAnnoOrthogonalPosF
> vcRefAnnoOrthogonalPosF sets the coordinate of the base location of the
> vector reference annotation orthogonal to the current vcRefAnnoSide and
> directed away from the center of the viewport. The PlotManager Location
> Control Model requires this resource to allow control of the vector
> reference annotation consistent with other annotations.
>
> Default: 0.02
> vcRefAnnoParallelPosF
> vcRefAnnoParallelPosF specifies the coordinate of the base location of the
> vector reference annotation parallel to the current vcRefAnnoSide and
> directed toward increasing NDC values. The PlotManager Location Control
> Model requires this resource to allow control of the vector reference
> annotation consistent with other annotations.
>
> Default: 1.0
>
> Good luck!
>
> ZHUANSHI
>
> 2010/10/11 bianh_522 <bianh_522@163.com>
>
>> Dear all,
>> I want to rearrange ref-vector by "10 m/s" on the left of the
>> arrow ( in the attach the string is on top of arrow). I did'nt find any
>> parameter to do this, and really need help. Thanks a lot.
>>
>>
>> BianH
>>
>>
>>
>>
>> ------------------------------
>> 全国最低价,天天在家冲照片,24小时发货上门! <http://yxp.163.com/photo/ep.html?sss=fromyx0911>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
> ------------------------------
> 全国最低价,天天在家冲照片,24小时发货上门! <http://yxp.163.com/photo/ep.html?sss=fromyx0911>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 11 21:00:51 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 12 2010 - 15:27:00 MDT