|
Not quite "push of a button" but the mesh function is what you need.
You can try something like this:
function meshFunction(tx, ty, Z)
ltx = length(tx);
lty = length(ty);
tz = zeros(ltx, lty);
for xx = 1:ltx
for yy = 1:lty
tz(xx,yy) = feval(Z, tx(xx), ty(yy));
endfor
endfor
mesh(tx, ty, tz);
endfunction
with
tx = ty = linspace (-8, 8, 41)’;
and defining a function "hat":
function z=hat(x,y)
r = sqrt(x.^2 + y.^2) + eps;
z = sin(r) ./ r;
endfunction
then
meshFunction(tx,ty,"hat");
should give you a simple 3d plot.
the tx and ty are the values over the x and y ranges, respectively.
The 3rd parameter is the name (as a string) of the function of x and y that returns z.
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.
|
|
|
|
|
I remember a similar problem with a graphics app some years back (Xera? Xara? something like that).
It turned out that, because any graphics file produced by such an has to be updated frequently, and disabling such an integrated/complicated part of the app would not have nice results, it actually created the graphics file in their temp storage, but with an unknown file extension.
Take a poke around; your work might be there (rename any "suspect" files as jpg/gif/whatever, and open them with IrfanView, which will tell you if they're graphics files with the wrong extension).
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: (Xera? Xara? something like that).
Oh wow, I haven't thought about that app in years! And appearently it's still around: Xara 3D[^]
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Oh wow, I haven't thought about that app in years! And appearently it's still around: Xara 3D[^] That's the guy!
It was pretty damned cool, in the day.
[edit] Holy cr@p! It used to be pretty damned cool and easy to use, but they've made real improvements!
But they're not paying me for this, so I'll shut up.
I wanna be a eunuchs developer! Pass me a bread knife!
modified 24-Sep-14 18:55pm.
|
|
|
|
|
|
Hi, I'm the author of Graphing Calculator 3D. Although exporting image to JPEG is disabled in free edition the screen capture should work (ie. using PrtScn button in keyboard). I'm not using any copy protection or cripple ware. I used screen capture myself many times without any issues. Have you tried PrtScn keyboard button in Windows?
I understand that not everyone can afford the paid software so I tried to leave as much of the main features available in the free edition as possible.
|
|
|
|
|
runiter wrote: I used screen capture myself many times without any issues
You definitely should grab the professional edition
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Hey runiter, welcome to CP Lounge! I for one am quite impressed with your app. And kudos for coming online to discuss it. Hope you stick around -- this place needs more people like you.
|
|
|
|
|
Thanks kdmote, glad to have found this forum I will certainly stick around and happy to answer any questions about the software, both ins and outs.
|
|
|
|
|
For some reason, PrintScreen plus your package hates me, but I did find a screen shot that works.
Thanks.
Oh, and I fully concur with others, your stuff is absolutely fantastic.
|
|
|
|
|
Glad you got it to work at the end and nice to hear that you found the software useful
|
|
|
|
|
Is there a place where I can post a picture of the graph I'm developing ?
I'm wondering if it already has a name.
|
|
|
|
|
I'm not sure if I understood your question correctly but if you like to share screenshot of your graphs because they look interesting for any other reason then you can do so in our facebook fan page here:
https://www.facebook.com/GraphingCalculator3D[^]
|
|
|
|
|
|
Scilab is fantastic. I also recommend the "matplotlib" package in python.
|
|
|
|
|
I can't figure out what you're struggling with. Graphing Calculator looks like a pretty cool tool. I just gave it a try for the first time (used the online version) and it seems very intuitive. I only played around with it for about 10 minutes, but I made some pretty cool looking 3D graphs -- z=.5sin(y^2+6) + 2cos(x^4) -- (I call that one "The Frozen Ice Tunnel of Mordec"). My screenshot tool (Snagit) had no problem taking a pic of it.
I'd say @runiter has made a pretty slick tool that I'll definitely be bookmarking. Thanks for the link!
|
|
|
|
|
kdmote wrote: a pretty slick tool that I'll definitely be bookmarking
You do realize (yes?) that you can download a a limited freebie version for your machine.
|
|
|
|
|
I wholehearted support Octave, but seeing your needs I suggest the following.
If you need a free option, you can screencap, but preferably say you can spare $6/month (or between $45-$65/year) for WolframAlpha. Either way, you can get WAlpha output.
Here's a sample.
I asked WAlpha: (x^2)+(min(x,y))-abs(y)+(xy+y^2)[^]
Hope that helps.
|
|
|
|
|
Codeproject.com is considered a credable news source by major corporations such as Microsoft, and by keeping the stories credable will not only keep Codeproject.com's reputation but it also could become an internationally recognized source for IT news, if not the place to go for such news.
I am sorry for being critical about a certain topic.
modified 24-Sep-14 17:23pm.
|
|
|
|
|
ColborneGreg wrote: Codeproject.com is considered a creditable news source by major corporations such as Microsoft Really? Do you have any link to suggest that?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
It's how I discovered this site, I have heard the sites name out of Microsoft reps, and possibly yes (I'll post it here when I find it when I have the time)
|
|
|
|
|
you should really try to get over it
|
|
|
|
|
Is there something wrong with freedom of expression?
Or should I just keep my mouth shut because people don't agree with me?
|
|
|
|
|
where did i tell you to keep your mouth shut?
|
|
|
|
|
Maybe we should have a survey for that.
It might well be a rare one, where I don't vote "Bacon".
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|