import text

13 views
Skip to first unread message

蔡慶輝 (Ken Tsai)

unread,
Feb 14, 2012, 2:44:57 AM2/14/12
to mirone
Dear Prof. Luis,
I am sorry to trouble you so often.
I have a similar question about importing points in Mirone.
May I set text size in a text file by “>”?
I had tried to make a text file format as GMT (attachment), but Mirone did not work.
I just want to ask you do I only change text parameters one by one right now in Mirone?
 
Best regards,
Ken
test.txt

Joaquim Luis

unread,
Feb 14, 2012, 11:22:17 AM2/14/12
to mir...@googlegroups.com, "蔡慶輝 (Ken Tsai)"
On 14-02-2012 07:44, 蔡慶輝 (Ken Tsai) wrote:
Dear Prof. Luis,
I am sorry to trouble you so often.

No problem. What it really means is one thing that I know well but I'm always lazy to do. "Improve the manual"

I have a similar question about importing points in Mirone.
May I set text size in a text file by “>”?
I had tried to make a text file format as GMT (attachment), but Mirone did not work.
I just want to ask you do I only change text parameters one by one right now in Mirone?

No you can't use the '>' mechanism and it doesn't apply in these cases since each line is a individual entry.
Looking into the code I see that I already had that need because there is a hidden trick to do that (just the font size). If you prefix the third field with an underscore than that will be taken as the font size. For example, with your example

121.595    25.3458    _20    Helvetica

prints the word "Helvetica" with a font size of 20.
I need to work out a general solution for importing texts but one difficult already is that the Font names are system dependent and do not necessarily follow those of GMT (that are actually postscript font names).

蔡慶輝 (Ken Tsai)

unread,
Feb 14, 2012, 8:48:53 PM2/14/12
to Joaquim Luis, mir...@googlegroups.com
Daer Prof. Luis,
I think maybe you can set up some free font types as defaults and package them in Mirone.
I also want to ask how can I change font degree. I set a parameter as font size, but it could not work.
I agree you if you have time you can “Improve the manual”.
For me, the Mirone lets me can interact with my data. It is a really nice software for me.
I also introduce the Mirone to my colleagues. It is really helpful for us.
 
Best regards,
Ken 

Joaquim Luis

unread,
Feb 14, 2012, 9:30:20 PM2/14/12
to "蔡慶輝 (Ken Tsai)", mir...@googlegroups.com
On 15-02-2012 01:48, 蔡慶輝 (Ken Tsai) wrote:
Daer Prof. Luis,
I think maybe you can set up some free font types as defaults and package them in Mirone.

That would  be a lot of work and I'm not sure I would know how to do it. Fonts are provided by Windows and Matlab just uses them.


I also want to ask how can I change font degree. I set a parameter as font size, but it could not work.

Everything that concerns font changes is done via a "Change Font" accessed by a right click on the text element. More I cannot tell.


I agree you if you have time you can “Improve the manual”.

Not yet the manual but when you update you'll be able to use a syntax like the -F option in pstext GMT5. That is, this now works

121.595  25.3458 -F+a30+jBL+f18p,Helvetica,200/0/0 It Works

again the font name is to be used with care, as it has to be one recognized by Matlab and not all fields of -F are mandatory. You can have
-F+f18p,Helvetica,200/0/0 to set only size, font and font color

You can also load and and control point color with (example)

> -G200/0/0 -Sc2

plots small red circles (2 is the default size too, so you can drop it in this case)


For me, the Mirone lets me can interact with my data. It is a really nice software for me.
I also introduce the Mirone to my colleagues. It is really helpful for us.

Nice, thanks

蔡慶輝 (Ken Tsai)

unread,
Feb 14, 2012, 10:39:48 PM2/14/12
to Joaquim Luis, mir...@googlegroups.com
Dear Prof. Luis,
Can I also use these setting in “Source code version”?  That is cause my data are already large, so most of time I have to use source code version.
Another question is because update is automatic by internet right now, not for patch files like before.
Can I copy all of the files in Mirone dirctory in windows system, and phase them to wine version in Linux system?
 
Thanks for your kind.
 
Best regards,
Ken
Sent: Wednesday, February 15, 2012 10:30 AM

Joaquim Luis

unread,
Feb 15, 2012, 7:20:11 AM2/15/12
to "蔡慶輝 (Ken Tsai)", mir...@googlegroups.com
On 15-02-2012 03:39, 蔡慶輝 (Ken Tsai) wrote:
Dear Prof. Luis,
Can I also use these setting in “Source code version”?  That is cause my data are already large, so most of time I have to use source code version.
Another question is because update is automatic by internet right now, not for patch files like before.

Yes, all changes are immediately committed to the googlecodes repository. In this case you will want the updated versions of  mirone.m and load_xyz.m  files


Can I copy all of the files in Mirone dirctory in windows system, and phase them to wine version in Linux system?

Copying won't do (I think). You'll have to use the installer but I warn you that my attempts on Mac faced difficulties on having the right-click to behave correctly.
Reply all
Reply to author
Forward
0 new messages