help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make "plot" draw filled dots


From: aditya
Subject: make "plot" draw filled dots
Date: Tue, 15 Dec 2009 15:29:46 +0100 (CET)
User-agent: SquirrelMail/1.4.9a

Dear all,

I can't make the plot command draw filled dots of a particular size.

If I use "." as a marker, it doesn't seem possible to increase the marker
size. For instance, even with markersize=100, the dots remain tiny in the
following call:

ai=plot([1 2 3 4 5], [1 2 3 4 5], "marker", ".", "linestyle", \
          "none", "markersize", 100)

Using "o" as a marker, and trying to fill it with color isn't working
either. No color is added in the two following function calls

ai=plot([1 2 3 4 5], [1 2 3 4 5], "marker", "o", "linestyle", \
          "none", "markersize", 100, markerfacecolor", "b" )
ai=plot([1 2 3 4 5], [1 2 3 4 5], "marker", "o", "linestyle", \
          "none", "markersize", 100, markerfacecolor", [0 0 1] )

Anyone knows some other way to actually draw filled dots in octave?

Thanks for your help!

Aditya


> Send Help-octave mailing list submissions to
>       address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> or, via email, send a message with subject or body 'help' to
>       address@hidden
>
> You can reach the person managing the list at
>       address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Help-octave digest..."
>
>
> Today's Topics:
>
>    1. Octave on windows - frequent crashes (George)
>    2. Re: Octave on windows - frequent crashes (Tatsuro MATSUOKA)
>    3. global variables (Naveen Garg)
>    4. Re: Octave on windows - frequent crashes (George)
>    5. global variables (John W. Eaton)
>    6. Function handles in SQP (Mike B.)
>    7. Re: Octave on windows - frequent crashes (Tatsuro MATSUOKA)
>    8. Re: how to calculate mean for many files (febty febriani)
>    9. Re: Function handles in SQP (Jaroslav Hajek)
>   10. Re: how to calculate mean for many files (Jaroslav Hajek)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Dec 2009 00:48:39 +0000
> From: George <address@hidden>
> Subject: Octave on windows - frequent crashes
> To: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=UTF-8
>
> Does anyone else have the problem of Octave crashing frequently on
> windows? I'm using 3.2.3 and every time Octave tries to do something
> requiring a non-trivial amount of memory there's a good possibility
> that it will crash. Someone on IRC suggested going to 3.0.x but I
> don't feel like going to one-year old software just like that.
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Dec 2009 12:00:38 +0900 (JST)
> From: Tatsuro MATSUOKA <address@hidden>
> Subject: Re: Octave on windows - frequent crashes
> To: George <address@hidden>, address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=iso-2022-jp
>
> Hello
>
> I have not met such crahes.
>
> What version of ATLAS did you install?
>
> If you install SSE3 version,it is buggy at present.
> Please use SSE2 ATLAS instead.
>
> BTW, at the question, please describe more detailed information.
>
> kind of OS (windows 7, vista home premium, XP Professional,....)
>
> detailed examples when octave crashes.
>
> etc.
>
> The detailed description of problem will make finding the solution faster.
>
> Regards
>
> Tatsuro
>
> --- George  wrote:
>
>> Does anyone else have the problem of Octave crashing frequently on
>> windows? I'm using 3.2.3 and every time Octave tries to do something
>> requiring a non-trivial amount of memory there's a good possibility
>> that it will crash. Someone on IRC suggested going to 3.0.x but I
>> don't feel like going to one-year old software just like that.
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>
>
>
> --------------------------------------
> Get Disney character's mail address on Yahoo! Mail
> http://pr.mail.yahoo.co.jp/disney/
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 14 Dec 2009 22:17:28 -0500
> From: Naveen Garg <address@hidden>
> Subject: global variables
> To: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> I am trying to declare global variables from c.
> However, the following fails:
>
> int parse_status;
> eval_string("global gvar", false, parse_status);
>
> I get:
>  error: eval: invalid use of statement list
>
> It seems to work if i put
> global gvar
> in a file called file.m
> and then run
> int parse_status;
> eval_string(source("file.m"), false, parse_status);
>
> Also, I can come to terms with pass by reference only semantics.
> But can't we at least get direct access to memory when using fortran_vec
> with get_global_value ?
> Octave is not multithreaded, whats the risk?
>
> Also, is there something akin to set_local_value (similar to
> set_global_value)?
>
> Thanks,
> Naveen
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20091214/458daf56/attachment-0001.html
>
> ------------------------------
>
> Message: 4
> Date: Tue, 15 Dec 2009 03:21:41 +0000
> From: George <address@hidden>
> Subject: Re: Octave on windows - frequent crashes
> To: address@hidden
> Cc: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=UTF-8
>
> 2009/12/15 Tatsuro MATSUOKA <address@hidden>:
>> Hello
>>
>> I have not met such crahes.
>>
>> What version of ATLAS did you install?
>>
>> If you install SSE3 version,it is buggy at present.
>> Please use SSE2 ATLAS instead.
>>
>> BTW, at the question, please describe more detailed information.
>>
>> kind of OS (windows 7, vista home premium, XP Professional,....)
>>
>> detailed examples when octave crashes.
>>
>> etc.
>>
>> The detailed description of problem will make finding the solution
>> faster.
>>
>> Regards
>>
>> Tatsuro
>>
>> --- George ?wrote:
>
> Is it possible to find out what SSE2 I installed with? I'm almost
> certain I used SSE2, but I want to check.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 14 Dec 2009 23:46:26 -0500
> From: "John W. Eaton" <address@hidden>
> Subject: global variables
> To: Naveen Garg <address@hidden>
> Cc: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> On 14-Dec-2009, Naveen Garg wrote:
>
> | I am trying to declare global variables from c.
> | However, the following fails:
> |
> | int parse_status;
> | eval_string("global gvar", false, parse_status);
> |
> | I get:
> |  error: eval: invalid use of statement list
> |
> | It seems to work if i put
> | global gvar
> | in a file called file.m
> | and then run
> | int parse_status;
> | eval_string(source("file.m"), false, parse_status);
>
> Why don't you avoid the eval and just use the set_global_variable
> function?  That's what it is there for.
>
> | Also, is there something akin to set_local_value (similar to
> | set_global_value)?
>
> No.  Why should there be a function like this?
>
> jwe
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 14 Dec 2009 21:30:39 -0800 (PST)
> From: "Mike B." <address@hidden>
> Subject: Function handles in SQP
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I want to use the SQP function for minimization. SQP takes a function
> handle (@phi) pointing to the function to minimize. Is it possible to pass
> several arguments to the function handle when using SQP? (I know it is
> possible in general).
> ?
> Cheers and thanks,
>
> Mike.
>
>
>       Get your preferred Email name!
> Now you can @ymail.com and @rocketmail.com.
> http://mail.promotions.yahoo.com/newdomains/aa/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20091214/817b77f3/attachment-0001.html
>
> ------------------------------
>
> Message: 7
> Date: Tue, 15 Dec 2009 14:56:03 +0900 (JST)
> From: Tatsuro MATSUOKA <address@hidden>
> Subject: Re: Octave on windows - frequent crashes
> To: George <address@hidden>
> Cc: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=iso-2022-jp
>
> If you have an editor with which you can use binary file, you will open
> atlas.dll in bin directory by
> it and search by 'SSE' (search by ASCII).
>
>
> If find
> -DATL_SSE2 -DATL_SSE1
>
> that is SSE2 ATLAS.
>
> Please do not use save command of the editor. BY save command, you might
> break binary files.
>
> Please test at your own risk.
>
> I have been using a good binary editor but it can be unfortunately used
> only in Japanese.
>
> So I googled and found.
>
> Free Hex Editor Neo
> http://www.hhdsoftware.com/Products/home/hex-editor-free.html
>
> I hope the aboves are useful for you.
>
> Regards
>
> Tatsuro
>
> --- George
>> 2009/12/15 Tatsuro MATSUOKA <address@hidden>:
>> > Hello
>> >
>> > I have not met such crahes.
>> >
>> > What version of ATLAS did you install?
>> >
>> > If you install SSE3 version,it is buggy at present.
>> > Please use SSE2 ATLAS instead.
>> >
>> > BTW, at the question, please describe more detailed information.
>> >
>> > kind of OS (windows 7, vista home premium, XP Professional,....)
>> >
>> > detailed examples when octave crashes.
>> >
>> > etc.
>> >
>> > The detailed description of problem will make finding the solution
>> faster.
>> >
>> > Regards
>> >
>> > Tatsuro
>> >
>> > --- George &#65533;wrote:
>>
>> Is it possible to find out what SSE2 I installed with? I'm almost
>> certain I used SSE2, but I want to check.
>>
>
>
> --------------------------------------
> Get Disney character's mail address on Yahoo! Mail
> http://pr.mail.yahoo.co.jp/disney/
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 15 Dec 2009 14:57:32 +0900
> From: febty febriani <address@hidden>
> Subject: Re: how to calculate mean for many files
> To: Sergei Steshenko <address@hidden>
> Cc: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
>>
>>
>>
>>
>> Based on what you think the following two lines from your code:
>>
>> a=["filename_folder"];
>> filenames=cellstr(a);
>>
>> will collect file names from the directory ?
>>
>>
> Yes, you are right. So, my result was not to be what I expected like my
> description on the previous email. Anyway, thanks very much for your
> explanation about array. It is very helpful for me to understand octave
> better.
> Until now, I can not find what command to pick up/load my files into a
> matrix. I have already searched about "load" command, but I didn't find
> yet.
> Finally, I used awk command to solve my problem eventhough awk is more
> time-consuming.
> Again, thanks very much..
>
>
> regards,
> febty
>
>
>
>
> --
>
> ******
> febty febriani
> Indonesian Institute of Sciences
> Research Center for Physics
> Kompleks PUSPIPTEK
> Serpong, Indonesia, 15314
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20091215/cf4825a2/attachment-0001.html
>
> ------------------------------
>
> Message: 9
> Date: Tue, 15 Dec 2009 07:26:46 +0100
> From: Jaroslav Hajek <address@hidden>
> Subject: Re: Function handles in SQP
> To: "Mike B." <address@hidden>
> Cc: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Tue, Dec 15, 2009 at 6:30 AM, Mike B. <address@hidden> wrote:
>
>> Hi All,
>>
>> I want to use the SQP function for minimization. SQP takes a function
>> handle (@phi) pointing to the function to minimize. Is it possible to
>> pass
>> several arguments to the function handle when using SQP? (I know it is
>> possible in general).
>>
>
>
> Yes. Use an anonymous function.
>
>
> --
> RNDr. Jaroslav Hajek
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20091215/fbcb94f1/attachment-0001.html
>
> ------------------------------
>
> Message: 10
> Date: Tue, 15 Dec 2009 07:30:03 +0100
> From: Jaroslav Hajek <address@hidden>
> Subject: Re: how to calculate mean for many files
> To: febty febriani <address@hidden>
> Cc: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Dec 15, 2009 at 6:57 AM, febty febriani <address@hidden> wrote:
>>>
>>>
>>>
>>> Based on what you think the following two lines from your code:
>>>
>>> a=["filename_folder"];
>>> filenames=cellstr(a);
>>>
>>> will collect file names from the directory ?
>>>
>>
>> Yes, you are right. So, my result was not to be what I expected like my
>> description on the previous email. Anyway, thanks very much for your
>> explanation about array. It is very helpful for me to understand octave
>> better.
>> Until now, I can not find what command to pick up/load my files into a
>> matrix. I have already searched about "load" command, but I didn't find
>> yet.
>> Finally, I used awk command to solve my problem eventhough awk is more
>> time-consuming.
>> Again, thanks very much..
>>
>>
>
> In general, you can use "glob" and "readdir". But it's hard to advise
> more when you carefully keep all the details of how your files are
> named/located for yourself. Maybe it's something top secret :)
>
>
> --
> RNDr. Jaroslav Hajek
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url: www.highegg.matfyz.cz
>
>
> ------------------------------
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
> End of Help-octave Digest, Vol 45, Issue 30
> *******************************************
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]