Quantcast
Channel: MATLAB Central Newsreader - tag:"real option"
Viewing all articles
Browse latest Browse all 10

Re: meshgrid 3d 6000*6000 matrix can't be shown. is the problem in my hardware or my code?

$
0
0
"Steven Lord" <Steven_Lord@mathworks.com> wrote in message <lmkm7h$7jl$1@newscl01ah.mathworks.com>...
> You've posted a LOT of code (though not all of it, I suspect) but we can't
> run it because 1) it depends on what you type at various INPUT statements
> and 2) it depends on the contents of variables you haven't showed us.
>
> Simplify this down to a SMALL section of code and instructions that people
> can execute and with which you can reproduce the behavior. Post that code
> and instructions to the group (please do NOT send them to me directly.) Then
> readers of the group can try it out and see if they can reproduce the
> behavior you're describing.
>
> As for the performance, I've got two ideas.
>
> 1) You're displaying a LOT of text to the Command Window with FPRINTF. Try
> commenting those out or guarding them by IF statements controlled by a
> variable you define at the top of your code, like:
>
> debugging = false;
> if debugging
> fprintf(...
> end
>
> That way the text only displays when you turn debugging on.
>
> 2) You have a LOT of calls to HOLD throughout your code. My guess is that
> you keep on adding line after line after line in the same axes, which will
> cause rendering to slow down as the renderer has to figure out what to
> display where and what's concealed "underneath" other graphics objects.
>
> *snip*
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

? Oh I see, but should i paste all of my code?
? yes i use hold cause i need to make the graph from several calculation result.. is the method that I use was the wrong (#newbie)? cause when i don't use hold the graph will not shown..

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images