search for: graphnam

Displaying 7 results from an estimated 7 matches for "graphnam".

Did you mean: graphname
2009 Aug 26
2
simple graph question: manipulating variable names
...ough a few dozen variable names in graphs. I've tried various approaches like this: attach(mydata) ivs <- c("oneiv", "anotheriv", "yetanotheriv") dvs <- c("onedv", "anotherdv", "yetanotherdv") for (iv in ivs) { for (dv in dvs) { graphname <- paste(iv, dv, ".png", sep = "") png(file=graphname, width=300, height=300) plot(dv ~ iv, pch=".") lines(loess.smooth(iv, dv), lty=1) dev.off() } } Clearly that doesn't work. I'm not sure how to make R see the iv and dv strings as variables. Advice? D...
2008 Oct 12
1
png(): Linux vs Windows
Hi Folks, Quick question. I have the following line in an R code file which runs fine on Linux: if(PNG) png(GraphName,width=12,height=15,units="cm",res=200) I learn that, when the same code was run on a Windows machine, there was the following error: Error in png(GraphName,width=12,height=15,units="cm",res=200): unused argument(s) (units = "cm") Sorry to be a bother -- bu...
2009 Dec 07
3
savePlot for Mac and / or Linux?
...ge rtlu, I use the function savePlot. It is convenient since it let the user decide in which graphic format he wants his graph to be export. But when I run R CMD check, I get the following message : > rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to 3}",graphName="V1") Error in savePlot(filename = nomBarplot, type = type) : can only copy from 'windows' devices Calls: rtlu ... r2lUniv -> r2lUniv.factor -> r2lBarplot -> savePlot Execution halted I guess this is a compatibility problem with Linux/Mac? Is there something close to...
2008 Apr 23
2
[LLVMdev] how to dump DSA graph in gdb?
...olor=gray63]; } then I had to copy these lines out into a .dot file and use dot to convert it into a ps file. I note that it also provide a lot print and dump functions in Printer.cpp, such as void DSGraph::writeGraphToFile(std::ostream &O, const std::string &GraphName) const { but i don't know how to use it, also there are other functions: // print - Print out the analysis results... void LocalDataStructures::print(std::ostream &O, const Module *M) const { if (DontPrintAnything) return; printCollection(*this, O, M, "ds."); } .......... ho...
2008 Apr 23
0
[LLVMdev] how to dump DSA graph in gdb?
...; then I had to copy these lines out into a .dot file and use dot to convert it into a ps file. > I note that it also provide a lot print and dump functions in Printer.cpp, such as > void DSGraph::writeGraphToFile(std::ostream &O, > const std::string &GraphName) const { > > but i don't know how to use it, also there are other functions: > // print - Print out the analysis results... > void LocalDataStructures::print(std::ostream &O, const Module *M) const { > if (DontPrintAnything) return; > printCollection(*this, O, M, &quo...
2008 Apr 23
2
[LLVMdev] how to dump DSA graph in gdb?
...e lines out into a .dot file and use dot to > convert it into a ps file. > > I note that it also provide a lot print and dump functions in > Printer.cpp, such as > > void DSGraph::writeGraphToFile(std::ostream &O, > > const std::string &GraphName) const { > > > > but i don't know how to use it, also there are other functions: > > // print - Print out the analysis results... > > void LocalDataStructures::print(std::ostream &O, const Module *M) const > { > > if (DontPrintAnything) return; > >...
2008 Apr 23
0
[LLVMdev] how to dump DSA graph in gdb?
...to copy these lines out into a .dot file and use dot to convert it into a ps file. >> I note that it also provide a lot print and dump functions in Printer.cpp, such as >> void DSGraph::writeGraphToFile(std::ostream &O, >> const std::string &GraphName) const { >> >> but i don't know how to use it, also there are other functions: >> // print - Print out the analysis results... >> void LocalDataStructures::print(std::ostream &O, const Module *M) const { >> if (DontPrintAnything) return; >> printColl...