f



Equivalent for Matlab 'axis equal'

Hi all,

I am a regular user of scilab. I need to plot a lot of Mohr's circles
(for 2D state of stress), where scale of x and y axis must be equal.
In matlab there is 'axis equal' command, to be used after plot
command. Is there any scilab equivalent or any other trick to achieve
the same effect?

Thanks
0
2/17/2010 11:23:00 AM
comp.soft-sys.math.scilab 12092 articles. 2 followers. d_k (3) is leader. Post Follow

3 Replies
4455 Views

Similar Articles

[PageSpeed] 28

Maybe this can help you:

a = gca();
a.isoview = 'on';



Am 17.02.2010 12:23, schrieb Sukumar:
> Hi all,
>
> I am a regular user of scilab. I need to plot a lot of Mohr's circles
> (for 2D state of stress), where scale of x and y axis must be equal.
> In matlab there is 'axis equal' command, to be used after plot
> command. Is there any scilab equivalent or any other trick to achieve
> the same effect?
>
> Thanks
0
mike
2/17/2010 1:39:12 PM
hi again,
just curious: did this help you?


Am 17.02.2010 14:39, schrieb mike:
> Maybe this can help you:
>
> a = gca();
> a.isoview = 'on';
>
>
>
> Am 17.02.2010 12:23, schrieb Sukumar:
>> Hi all,
>>
>> I am a regular user of scilab. I need to plot a lot of Mohr's circles
>> (for 2D state of stress), where scale of x and y axis must be equal.
>> In matlab there is 'axis equal' command, to be used after plot
>> command. Is there any scilab equivalent or any other trick to achieve
>> the same effect?
>>
>> Thanks
0
mike
2/24/2010 6:35:54 PM
2 years later...it did help me, thanks a bunch!

--
0
igoose (1)
12/11/2012 1:39:33 AM
Reply:

Similar Artilces:

matlab equivalent of 'system' in scilab
hey searchin for matlab equivalent of "system" in scilab On 27 mai, 08:17, Geetika <geetika.ge...@gmail.com> wrote: > hey > searchin for matlab equivalent of "system" in scilab Geetika, You should crosspost this kind of query on the Matlab newsgroup. ;-) All scilabers are not former matlabers Samuel Le 27/05/2010 08:17, Geetika a �crit : > hey > searchin for matlab equivalent of "system" in scilab Please look at the host function, you also may look to unix unix_s unix_g (despite of their names these functions aloso work on Win...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y&qu...

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

when 'myArray * 'myObject' is not equal to 'myObject' * 'myArray'
Although I'm sure somewhere this issue is discussed in this (great) group, I didn't know the proper search words for it (although I tried). I'm using python (2.6) scientifically mostly, and created a simple class to store time series (my 'Signal' class). I need this class to have a possibility to get multiplied by an array, but pre and post multiplication have different mathematical outcomes ( basically A* B != B*A ) . Post multiplication by an array works fine defining __mul__ in the Signal class, but pre multiplication does not. It keeps trying to multiply a...

Matlab's 'rmfield' in Scilab
Hello, Does anyone know how to perform the MAtlab's rmfield function in Scilab. There isnt an equivalent function in SCilab, and the field and arrays get me confused. Does anyone know of or can give some tips on an alternative routine? Thanks! ...

difference between 'axis square' and 'axis image'?
What exactly is the difference between 'axis square' and 'axis image'? Thanks, Bart -- Bart Vandewoestyne GSM: +32 (0)478 397 697 Naamsesteenweg 328 bus 201 B-3001 Heverlee ---------------------------------------------------------------------- "Share what you know. Learn what you don't." Difference is: axis square makes the lengths of x and y be the same (regardless of scale) This can be seen when you do: plot(1:10:100) axis square With axis equal, one unit on the xscale has the same physical size as one unit on the yscale. Hence ...

Scilab's 'optim' and 'splin'
I've got this really cool application that makes a smoothed line using splines, then fits it to a source line using a nonlinear weighting. I'm currently using SciLab with it's 'optim' and 'splin' function to do this, but now I need to write some embeddable C++ code. The 'splin' function is obvious -- it generates a spline from a number of inflection points. The 'optim' function as I am using it uses a quasi-Newton method, which is working just fine for me. Before I go and write this stuff up by hand, does anyone have any suggestions on wher...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal''''''''''''''
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; _____________________________________________________ SELECT "criteria" FROM "criteria" WHERE "criteria" UPDATE/APPEND "field selections" RecordSource "qryExample" = above text strings" _______________________________________________________________________ When i am running a SELECT query in this manner it works fine with no problems, and accepts the values of specified linked for...

'Matlab Code' to 'Embedded Matlab fun code'
Dear friends, I have a Matlab code to process a pure analog signal 'u'. Now I want to implement it in Simulink and I want to use it in 'Embedded Matlab fun block' so i need to transform 'Matlab code' to 'Embedded Matlab fun code' to perform the task. The Matlab code is as follows: %%%%%%%%%%%%%%%%%%%%% u_abs = abs(u); major_th = 1.5e-1; minor_th = 1.8e-2; major_peak_value = []; minor_peak_value = []; pos = 1; pos_max = 1; while ~isempty(pos) [m pos_max(end+1)] = max( u_abs( pos : pos + 10) ); pos...

Are there 'Null' and 'not equal to' test?
Are there 'Null' and 'not equal to' operator that I can use in xsl:if statements? I assume that there must be, but I can't figure out the syntax. For example: <xsl:if test="@title DOES NOT EQUAL 'Little Red Riding Hood'"><xsl:value-of select="@title"></xsl:if> and <xsl:if test="books/humor IS NULL">Category is empty.</xsl:if> Thanks, -James Porthos wrote: > Are there 'Null' and 'not equal to' operator that I can use in xsl:if > statements? <xsl:if test="@title"...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2
Hi, Thanks for ur help there HJ. I know how to do the tasks you specified there. I would like for the update query to use field values from some of the fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, DateTo. My problem is that an append/update query can't find the values in the open Form (frmInvoices) when I specify them as; [Forms]![frmInvoices]![InvoiceNumber] a select query has no problem finding the field values on a form. please help. Aaron Hi Aaron, Could you post the entire code that you are having trouble with? Now it is not possible to see what goes wron...

if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?
Hi, there. =20 I'm just curious if it ever dawned on anybody how to abbreviate this line : if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.')=20 =20 Igor Kurbeko Clinical Programmer Analyst 678 336 4328 ikurbeko@atherogenics.com =20 no brain no pain =20 how about: if not (str_mo in ('','.') or str_da in ('','.') or str_yy in ('','.')) OR if not (missing(str_mo) or missing(str_da) or missing(str_yy)) Eric On 22 Oct 03 21:13:37 GMT, ikurbeko@ATHER...

regex problem: 'greater than' 'less than' and 'equals' not matching!
I have a very strange problem. I want to replace every thing in a string except letters, numbers, space, and certain symbols listed in the regex expression below "blahblah !@#$%^&*()--.,<>=".replaceAll("[^A-Za-z0-9/-?:().,'+^| ]","") I expect to get the following string back: "blahblah ^().," but I actually get the following: "blahblah ^().,<>=" Notice the greater/less than and equals signs are still there! I did a quick check using this site: http://www.fileformat.info/tool/regex.htm and I get the same result back. W...

A function with 'and' , 'not' , 'null' , 'car' and 'cdr'
What's this ? (defun enigma (x) (and (not (null x)) (or (null (car x)) (enigma (cdr x))))) "I suppose I should learn Lisp, but it seems so foreign." - Paul Graham, Nov 1983 On Wed, Oct 07 2015, CAI GENGYANG wrote: > What's this ? > > > (defun enigma (x) > (and (not (null x)) > (or (null (car x)) > (enigma (cdr x))))) Bad taste? It returns T if the list X contains nil as an element. It would be clearer to write (some #'null x). Helmut CAI GENGYANG ...

Re: if str_mo not in ('','.') and str_da not in ('','.') and str_yy not in ('','.') Any shorter ?
OR you could use ARRAY data new; set old; array igor $ (*) str_mo str_da str_yr; do over igor; if igor ~in (' ','.') then do; end; run; Prasad Ravi Igor Kurbeko <ikurbeko@ATHEROGENIC To: SAS-L@LISTSERV.UGA.EDU S.COM> cc: Sent by: "SAS(r) Subject: if str_mo not in ('','.') and str_da not in ('','.') and str_yy ...

error: expected '=', ',', ';', 'asm' or '__attrib
Hi I'm trying to compile an ADC Driver & come acrosss the following error. I've no experience writing drivers before, and hence have no clue how to fix it. Hope someone out there has encountered the problem & suggesst a fix for the same. The Error is I get is : qadc.c: At top level: qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qadc_read' make: *** [qadc.o] Error 1 [root@localhost qadc]# ########################################################################### ADC Driver Code ##...

error: expected '=', ',', ';', 'asm' or '__attrib
Hi I'm trying to compile an ADC Driver & come acrosss the following error. I've no experience writing drivers before, and hence have no clue how to fix it. Hope someone out there has encountered the problem & suggesst a fix for the same. The Error is I get is : qadc.c: At top level: qadc.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qadc_read' make: *** [qadc.o] Error 1 [root@localhost qadc]# ########################################################################### ADC Driver Code ####################...

'[OFF]' as in 'offensive'???
Hi, given that 'off-topicness' is indicated as '[OT]' and taking a look at those postings that started the threads indicated as '[OFF]' (which may both be seen as being somewhat offensive) may lead to the conclusion that '[OFF]' stands for offensiveness. I don't think that this is the intended meaning so what actually *does* '[OFF]' mean? I never came across that abbreviation before (although I have been around on the USENET for quite some time) but maybe it is worth knowing? Josef 'Jupp' Schugt NOTE: mails >100 KiB ...

difference between ',' and 'a,'
Small question. In gforth is there a difference between the words ',' and 'a,'? I'm thinking not, so perhaps another question, why have both ',' and 'a,'? Thanks Should be the same, in gforth: see , : , here cell allot ! ; ok see a, : , here cell allot ! ; ok On Friday, January 9, 2015 at 5:46:04 AM UTC-8, beeflo wrote: > Small question. In gforth is there a difference between the words ',' and 'a,'? > > I'm thinking not, so perhaps another question, why have both ',' and 'a,'...

Replacing ',' with '.'
Hello, I have a huge amount of numbers in a .txt file. The numbers are in the form 2,43252e+1. I need to replace the , with . How should I do this? I'd prefer some import method that does this during the import procedure. -Janne Hi, I guess you import the data as text and convert it then to numbers. Try 'strrep' before you convert the text to numbers. Tobias Jake the Snake schrieb: > Hello, > > I have a huge amount of numbers in a .txt file. The numbers are in the form 2,43252e+1. I need to replace the , with . How should I do this? I'd prefer some import method...

replacement for '{' and '}' ?
I am still playing around with what kind of syntax I would like to mark up my documents. Are there equivalent long substitutes for { and } when they are not used to describe arguments to functions? Something like \begin{group} and \end{group}. In other words, if I could force myself to write, say, \begin{group} \it ... \end{group} instead of {\it ... }, then I believe I could identify from the markup context what is an argument that belongs to a just invoked macro and what is text. {Of course, in this context, \textit{...} would be better.} No more ambiguity whether a in \myfunction{a} i...

Re: '^=' and '~='?
Duckhye, According to the doc ( http://xrl.us/befwjx ) they, and one other set of characters, and the mnemonic 'NE' all represent 'NOT EQUAL'. Art ------- On Wed, 11 Feb 2009 16:52:40 -0600, Duck-Hye Yang <dyang@CHAPINHALL.ORG> wrote: >Hello, >What is the difference between '^=' and '~='? > >Thanks, >Duckhye ...

A question about 'class' and 'set' at MATLAB
In my project,an error stop my step.Need help!......About class and set value. For example: %Create a class D: D.value = 1; D = class(D,'model'); %Create a class C: C.value = 2; C.submodel = D; C = class(C,'model'); %Create a class B: B.value = 3; B.submodel = C; B = class(B,'model'); %Create a class A: A.value = 4; A.submodel = B; A = class(A,'model'); Now I wanna set D.value = 0, what can I do for that ? A.B.C.D.value ? no,maybe MATLAB is not power enough for this ? t.Michael Chan wrote: &...

'!' vs. '.'
Is there an advantage to using the '!' notation to represent form/ control relationships? (eg. Me!text1 vs Me.text1) I am currently using the '.' notation exclusively (for code completion in the VB Editor), but much of the high-quality code that I've seen (in Duane Hookom's Query-by-Form db, for example) uses the other. Here's one opinion for you: http://doc.advisor.com/doc/05352 robert.waters wrote: >Is there an advantage to using the '!' notation to represent form/ >control relationships? (eg. Me!text1 vs Me.text1) > >I am currently using...

Web resources about - Equivalent for Matlab 'axis equal' - comp.soft-sys.math.scilab

Antenna equivalent radius - Wikipedia, the free encyclopedia
... length of the circumference, and are vectors locating points along the circumference, and and are differentials segments along it. The equivalent ...

Equivalent Fractions on the App Store on iTunes
Get Equivalent Fractions on the App Store. See screenshots and ratings, and read customer reviews.

Rate of Indigenous children in child protection 'almost equivalent to another Stolen Generation'
The rate of Indigenous Australians in the child protection system has reached &quot;epidemic levels&quot;.

Uber X 'surge' charge turns Northbridge cup day ride into equivalent of airfare
A Sorrento businessman has come away from the&nbsp;Melbourne Cup with a big tip for punters after an&nbsp;Uber X cup day ride.

Intel: For Mainstream Gamers, Our IGPs Are Equivalent to Discrete GPUs
... where it was five years ago. We believe that the performance of Intel’s integrated graphics today, what we offer in the products […], is equivalent ...

OnePlus X may cost the equivalent of $270 in China
Despite the 'clandestine' nature of OnePlus' second offering this year, the company has been surprisingly straightforward with it. Months ago, ...

Franklin Gutierrez: Rich Hill's hitting equivalent
Franklin Gutierrez had a 167 wRC+ and produced 2.3 fWAR in 189 PA, and he did it while staying under the radar. Franklin Gutierrez's 2015 comeback ...

America has built the equivalent of 10 Keystone pipelines since 2010, by @Gaius_Publius
America has built the equivalent of 10 Keystone pipelines since 2010 by Gaius Publius The blue lines show expansion since 2005. Note the expansions ...

America Has Built the Equivalent of 10 Keystone Pipelines Since 2010
... obscures a sobering fact. A virtual Keystone pipeline is being built anyway. Yadullah Hussain at Financial Post : America has built the equivalent ...

The top-end Surface Book costs £250 more than the equivalent MacBook Pro
Microsoft has revealed the price of the most expensive Surface Book — and it costs $400 (£258) more than the equivalent MacBook Pro at $3,199 ...

Resources last updated: 2/15/2016 11:15:25 PM